/
jsonToXML

PhixFlow Help

jsonToXML



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)

ArgumentTypeDescription
stringStringJSON string to be converted to XML.

Examples

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

Generates the XML

<?xml version="1.0" encoding="UTF-8"?>
<o><InvoiceLine><Item>Chair</Item><Price>15.00</Price><Quantity>18</Quantity></InvoiceLine></o>


See Also

Related content

jsonToXML
jsonToXML
More like this
jsonToXML
jsonToXML
More like this
jsonToXML
jsonToXML
More like this
jsonToXML
jsonToXML
More like this
toXML
toXML
More like this
htmlToXML
htmlToXML
More like this

Please let us know if we could improve this page feedback@phixflow.com