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 conversion JSON result.
  4. Select the Open in Editor option to open the JSON result of the conversion in the Oxygen XML Editor JSON Editor.
  5. Click the Convert button.

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

Figure: Example: XML to JSON Operation Result