You are currently viewing an older version of the Java driver documentation.
For the most recent version of the reference documentation, see our MongoDB Java Driver documentation site.
For the most recent version of the reference documentation, see our MongoDB Java Driver documentation site.
- BSON
BSON
The BSON library comprehensively supports BSON, the data storage and network transfer format that MongoDB uses for “documents”. BSON, short for Binary JSON, is a binary-encoded serialization of JSON-like documents.
- Documents: Documentation of the driver’s support for BSON document representations
- Readers and Writers: Documentation of the driver’s support for stream-based reading and writing of BSON documents
- Codec and CodecRegistry: Documentation of the driver’s
Codec
API, an abstraction for producing and consuming BSON document representations using the stream-based readers and writers - Extended JSON: Documentation of the driver’s support for MongoDB Extended JSON
On this page