Data: Convert JSON to XML

Convert JSON data to XML format.

Help Centre › Functions & Formulas

Convert JSON data to XML format.

Add it to a process

In the process designer, open the Add step tab. Find Convert JSON to XML under Data › Convert, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
JSON dataYesThe data variable or JSON string to process
VariableYesVariable name to store the result Default: xml.
Root tagNoThe XML root element name Default: root.

What it gives back

  • {xml} – XML string

See all Data steps.

Errors

ErrorDescription
Invalid JSONThe data is not valid JSON

Tips

  • Nested JSON objects produce nested XML elements
  • JSON arrays are converted to repeated elements

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.