Oxygen XML Developer includes a useful and simple tool for converting XML files to JSON.
It can be found in the Tools menu.
To convert an XML document to JSON, follow these steps:
-
Select the XML to JSON action from the Tools menu.
The XML to JSON dialog box is displayed:
Figure: XML to JSON Dialog Box
-
Choose or enter the Input URL of the XML document.
-
Choose the path of the Output file that will contain the
conversion JSON result.
-
Check the Open in Editor option to open the JSON result of the
conversion in the Oxygen XML Developer JSON Editor.
-
Click the Convert button.
The original XML document is now converted to a JSON document.
Figure: Example: XML to JSON Operation Result