Paste JSON and get indented XML: records are wrapped in item elements under a single root, arrays become repeated sibling elements and special characters are escaped. Root naming, attributes and xsi:nil are not configurable.
When to use this
Use when: integrating with legacy SOAP APIs that need XML, exporting JSON data for an XML-only enterprise system, feeding JSON-stored config into Java / .NET tools that prefer XML, sending JSON payloads to RSS / Atom feed generators.
Frequently Asked Questions
How are JSON arrays mapped to XML?
As repeated sibling elements named after the key (<tag>A</tag><tag>B</tag>). There is no option for a wrapping parent such as <items>, so add one by hand if your consumer needs it.
Will JSON null values come through?
Yes, as an empty element (<key></key>). XML has no native null and there is no xsi:nil option, so check that your consumer reads an empty element as null.
Powered by Data Converter - JSON / XML / CSV / YAML.