Altova XMLSpy 2026 Enterprise Edition

Convert BSON to/from JSON/YAML

Home Prev Top Next

You can convert a BSON document to a JSON/YAML document and vice versa. To do this, sake the BSON or JSON/YAML document that you want to convert the active document and select the menu command Convert | Convert BSON to/from JSON/YAML. The generated document will be opened in a new window, where you can edit it and from where you can save it to file.

 

On selecting the Convert command, a dialog appears in which you can select options for the conversion. These options are described in the description of the command.

 

Note: This command is also available in the context menu of project folders. When used on a project folder, the command allows you to batch convert between JSON/YAML files and BSON files.

 

© 2019-2025 Altova GmbH