To convert a given JSON object into XML text, which might be optically structured
Use this function to convert data into XML format. XML is beside JSON one of the most popular formats for exchanging data. That's why this function is of particular interest when connecting to external servers via API.
More about API at Ninox.
formatXML(JSON)
formatXML(JSON, boolean)
string
formatXML(JSON)
To convert a given JSON object into XML text.
formatXML(json,pretty)
To convert a given JSON object into XML text. If pretty
is true
the text is optically structured.
Result: You'll get an XML string with the data from the JSON object.
parseXML
, which converts an XML string to a JSON object.