Configuring a translation for the JSON format

The JSON format can be used in the Translation Configurator. You must prepare your JSON definitions before configuring a translation file on the JSON format,

When the action works on a specific element of an array node, enter the index number in the () after that node. For example, Contacts(0).Telephone(1). This is the second element of Telephone in the first element of Contact.

For ITERATE, Cloverleaf only supports the ITERATE action on an array node. In this case, the basis should be an array node. There is no difference between field, group, and segment under Type. You can select any of these types and use the variable in the address.

For ITERATE on an array-root JSON message, you can leave Basis empty. In this case, the basis is the array root. For example:

[
     { "Type": "Home", "Address": "XXX", "Telephone": ["000","12345678"]},
     { "Type": "Work", "Address": "YYY", "Telephone": ["111","87654321"]}
]     

COPY works only on basic type nodes. For example, string, number, integer, boolean, and null. For array and object, use PathCopy to copy the entire node and its child nodes.