
Try it with a small example
Inspect a JSON representation of XML element names, attributes, and ordered content. Open the workspace.
In a book element with an id attribute and two chapter elements, the id is stored under attributes and the chapters appear in sequence under children.
Follow these steps
- Choose a standalone UTF-8 XML file.
- Convert the document and inspect the name, attributes, and children properties.
- Copy or download the JSON for your next processing step.
Check the export
The converter omits comments and processing instructions and rejects custom entities and document type declarations.
Developerxml to json