JSON to XML: the reverse conversion, and why it's messier than XML to JSON
JSON has no attributes, no mixed content, and no inherent root element. Wrapping it back into XML means inventing structure that JSON never had.
JSON, XML, CSV, Base64, URL and YAML — formatting, converting and debugging everyday data formats entirely in your browser.