• 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.


<dependencies>
    <dependency>
        <groupId>org.mongodb</groupId>
        <artifactId>bson</artifactId>
        <version>3.3.0</version>
    </dependency>
</dependencies>

You can also download the jars directly from sonatype.

On this page