Frequently asked questions
How do I add XML attributes?
The converter writes elements only. Add attributes to the output by hand if your target format needs them.
Why does my output have more than one root element?
Each top-level key becomes an element. Wrap everything in one key, such as { "root": { ... } }, to get a single root.
Does it add an XML declaration?
No. Add <?xml version="1.0" encoding="UTF-8"?> to the first line if you need one.