JSON → XML
Paste JSON in the same convention XML → JSON produces: a single-key top-level object naming the root element, e.g. {"root": {...}}. An "@name" key becomes an attribute, "#text" becomes text content, and an array value becomes repeated same-tag children.