Configuring JSON in Cloverleaf

The JSON definition is used to describe the JSON message data. Cloverleaf uses the JSON definition to validate the JSON message and perform translation on the JSON message. You must configure the JSON definition before the JSON message can be handled in Cloverleaf.

JSON schema is used as the rule for the Cloverleaf JSON definition.

For additional information, see http://json-schema.org.

The order of configuration is:

  1. Create the JSON definition by basing it on a JSON message or by manually editing nodes.

    See Creating a JSON definition by manually editing nodes or Creating a JSON definition based on a JSON message.

  2. Test the JSON message.

    See Testing the JSON message against a definition.

  3. Configure the translation.

    See Configuring a translation for the JSON format.

  4. Determine the Trx ID.

    See Determining the Trx ID on a JSON message.