Altova MapForce 2026 Enterprise Edition

This section describes functions for working with BSON binary values.

 

BSON (Binary JSON) is a binary representation of JSON-like documents used primarily by MongoDB. Some systems that implement MongoDB-compatible APIs, such as Azure Cosmos DB, also support BSON documents.

 

A BSON binary value consists of:

 

A subtype, which indicates how to interpret the binary data.

Binary content, which is the raw sequence of bytes that represents the data stored in the BSON binary value.

 

MapForce supports the following BSON binary functions:

 

binData-content: Extracts the raw data (as an xs:base64Binary) from a BSON binary value.

binData-subtype: Extracts the subtype (as an xs:byte) from a BSON binary value.

to-binData: Creates a binary value using the specified BSON subtype and content.

 

Useful links

BSON Specification

BSON Types

 

© 2020-2026 Altova GmbH