For the most recent version of the reference documentation, see our MongoDB Java Driver documentation site.
- BSON
- Installation Guide
Installation
The BSON library is a required dependency of all the MongoDB Java drivers and if using a dependency management system, it will be automatically installed alongside the driver, however, it can be used as a standalone library. The recommended way to get started using one of the drivers in your project is with a dependency management system.
BSON
This library comprehensively supports BSON, the data storage and network transfer format that MongoDB uses for “documents”. BSON is short for Binary JSON, is a binary-encoded serialization of JSON-like documents.
Note: You can also download the
<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>bson</artifactId>
<version>3.4.3</version>
</dependency>
</dependencies>
bson
jar
directly
from sonatype.