- Scala Driver
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.
For everyday usage there are type aliases and companion objects available from the
- Documents: Documentation of the driver’s support for BSON document representations
- Extended JSON: Documentation of the driver’s support for MongoDB Extended JSON
For advanced usage you may need to use
org.bson directly. See the core Java driver documentation for: