IMPORTANT: This documentation has been discontinued. Read the updated JSON Generator documentation on our new documentation portal.
JSON Generator generates a JSON with a specific format. In other words, it works as a template for assembling a JSON object so that you can refer to variables through the use of Double Braces.
Take a look at the configuration parameters of the component:
JSON: specification of the JSON to be generated.
Fail On Error: if the option is enabled, the execution of the pipeline with error will be interrupted; otherwise, the pipeline execution proceeds, but the result will show a false value for the “success” property.
Messages flow
Input
{
"abc": {
"test": "someValue"
}
}
You can use the following configuration in the component:
{
"property": {{ message.abc.test }}
}
Output
{
"property": "someValue"
}
To know more about functions, click here.