Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Files

Latest commit

Jul 16, 2015
7cdb63a · Jul 16, 2015

History

History
25 lines (19 loc) · 1.29 KB

File metadata and controls

25 lines (19 loc) · 1.29 KB

+++ date = "2015-03-19T12:53:30-04:00" title = "BSON" [menu.main] identifier = "BSON" weight = 40 pre = "" +++

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.

For everyday usage there are type aliases and companion objects available from the [org.mongodb.scala.bson]({{< apiref="org.mongodb.scala.bson.package" >}}) package.

  • [Documents]({{< relref "documents.md" >}}): Documentation of the driver's support for BSON document representations
  • [Extended JSON]({{< relref "extended-json.md" >}}): 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:

  • [Readers and Writers]({{< coredocref "bson/readers-and-writers" >}}): Documentation of the driver's support for stream-based reading and writing of BSON documents
  • [Codec and CodecRegistry]({{< coredocref "bson/codecs" >}}): Documentation of the driver's Codec API, an abstraction for producing and consuming BSON document representations using the stream-based readers and writers