YAML to JSON Converter
Converting YAML to JSON in Oxygen
Oxygen XML Editor Eclipse plugin includes a useful and simple tool for converting YAML files to JSON. It even works on files that consist of multiple YAML documents, each separated by three dashes (---), in which case the conversion creates multiple JSON files with a number in the name.
The YAML to JSON action for invoking the tool can be found in the menu.
To convert a YAML document to JSON, follow these steps:
-
Select the YAML to JSON action from the menu.
The YAML to JSON dialog box is displayed:
- Choose or enter the YAML URL for the document you want to convert.
- Choose the path of the Output file that will contain the resulting JSON document.
- [Optional] Select the Open in Editor option to open the resulting JSON document in the main editing pane.
- Click the Convert button.
Result: The original YAML document is now converted to a JSON document.