JSON to XML
Description
JSON to XML enables to convert a given JSON input into an XML output.
Usage

JSON to XML can be used to convert JSON data from a previous step into an XML output. The source JSON data must be provided in the JSON Content field. This can be a reference to the JSON provided in a previous step, as shown above, or the JSON data inline, as shown below.

Additionally, a JSON source must be provided in two different ways:
- Content: select the
JSON sourcetype to beContentand provide the JSON content in the JSON editor provided, as shown above. - Link: select the
JSON sourcetype to beLinkand provide an URL to the JSON source URL, as shown below.

Once the JSON source and JSON content or JSON source URL are defined and the action executed, the output will be inside a property called XmlContent as a string value, ready to be used in next steps.

NOTE When the JSON source string is an array, that is, preceded by no property, the output XML uses
ArrayListtag to wrap the array and for each element, it uses theItemtag, as shown below.

NOTE When the JSON source string is an object, the output XML uses the
Roottag to wrap the entire XML string.
