CData_JsonArray_Xml

JSON verisini Handlebars template ile XML'e dönüştürür

CData_JsonArray_Xml

AI-generated

Summary

Convert JSON input data into XML using a Handlebars template supporting custom data extraction helpers.

Inputs

  • JSON Data (required) — The JSON data to transform, provided in input.JSON format.
  • XML Template (required) — A Handlebars template string representing the XML structure, supporting embedded expressions to map and iterate over JSON data.

Output shape

A single JSON object containing all original input data fields plus a new 'xml' field with the rendered XML string.

The Handlebars template uses a custom 'get' helper to extract nested fields and supports iteration to handle arrays within the JSON data. On error, optionally returns error messages paired with the original item index if 'continueOnFail' is enabled.

Discussion