Creating a JSON definition based on a JSON message

When you use a JSON message, Cloverleaf automatically creates the JSON definition based on that message. To do this:

  1. Prepare the JSON message.
  2. Open the IDE and select the JSON Configurator.
  3. Click Load, then import the JSON message.
  4. Manually change any node as required.
  5. If undefined nodes are used in a JSON message, then select Additional Properties for object, or Additional Items for array.
  6. For additional configuration, you can set the node to Required if a node must display in the JSON message. You can also clear Validation on the JSON definition root node if you do not require Cloverleaf to validate the JSON message against the definition.