History | Edit

Oxygen XML Editor 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:

  1. Select the XML to JSON action from the Tools menu. The XML to JSON dialog box is displayed:

    Figure: XML to JSON Dialog Box

  2. Choose or enter the Input URL of the XML document.
  3. Choose the path of the Output file that will contain the resulting JSON document.
  4. Select the Open in Editor option to open the resulting JSON document in the main editing pane.
  5. Click the Convert button.

The original XML document is now converted to a JSON document.

Figure: Example: XML to JSON Operation Result