DataStays

JSON to XML

Wrap a JSON structure in XML elements — keys become tags and nested objects become nested elements. Attribute keys use the @_ prefix convention, so this works best when the JSON already has an XML-like object shape.