JSON Template Property

The JSON template property must be a valid JSON. It can be either a JSON object or a JSON array.

The template property can be specified as %variable-name%, in which case the template will be obtained from the named flow variable or configuration variable.

The template can include any arrays, objects, primitives, and these can also be specified as JSON path expressions. Such expressions should comply to the syntax defined by Stefan Goessner's de-facto standard defined here: https://tools.ietf.org/id/draft-goessner-dispatch-jsonpath-00.html.

The JSON Transform node uses the syntax "@@path" to indicate that the string contains a JSON path expression. The path is then evaluated, and its results are included in the output document to replace the path expression in the template.

As can be seen from the examples, where the JSON path expression is specified in the template determines the expected result of the JSON path expression.