Altova XMLSpy 2026 Enterprise Edition

BSON

Home Prev Top Next

BSON stands for Binary JSON, which is so named because it is a binary representation of JSON data. BSON extends JSON with additional datatypes and is used mainly by MongoDB. The main benefits of BSON are:

 

Faster parsing compared to the text format of JSON.

More datatypes than the limited datatypes of JSON—in particular, more numeric datatypes.

 

For more information, see the BSON specification and information about JSON and BSON at the MongoDB website.

 

BSON functionality in XMLSpy

XMLSpy provides the following functionality for working with BSON files, and these are described in the topics of this section.

 

Standard file-related features, such as the setting of BSON-conformant file types and the recognition of file extensions. See Edit BSON Files in Grid View.

Display and edit files in Grid View. See Edit BSON Files in Grid View.

Entry helpers and context menus to aid editing. See Edit BSON Files in Grid View.

XQuery expressions for JSON, which can be used to evaluate data in the document. See Edit BSON Files in Grid View.

Validate BSON files against JSON Schemas. See Validate BSON Files.

Generate a BSON instance form a JSON Schema and vice versa. See Validate BSON Files.

Convert BSON files to JSON/YAML and vice versa. See Convert BSON to/from JSON/YAML.

 

© 2019-2025 Altova GmbH