Altova XMLSpy 2024 Enterprise Edition

Convert between YAML and JSON/XML

Home Prev Top Next

You can convert a YAML document to a JSON instance and vice versa. Make the YAML file you want to convert the active file and select the menu command Convert | Convert JSON to/from YAML. The active document will be converted into a document of the opposite file format. The new file will be opened in a new window, from where you can save it to file.

 

You can also convert a YAML document to an XML instance and vice versa. Make the YAML file you want to convert the active file and select the menu command Convert | Convert XML Instance to/from JSON/YAML. The active document will be converted into a document of the opposite file format. The new file will be opened in a new window, from where you can save it to file.

 

Note:These commands are also available in the context menu of XMLSpy project folders and files. When used on a project folder, the command allows you to batch convert all the JSON, XML, and YAML files in the folder to the other format.

 

© 2018-2024 Altova GmbH