Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Function: jsonToXML()

Converts a JSON string to an XML string. This can be useful if you then wish to pass it to the function xmlToItems.

Syntax

jsonToXML(string)

Argument Type Description
string String JSON string to be converted to XML.

Examples

jsonToXML("{"InvoiceLine": { "Item": "Chair", "Quantity": "18", "Price": "15.00" } }")

Generates the XML

<![CDATA[ Chair15.0018]]>

See Also

  • No labels