BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ What is the point of BSON when it is no smaller than JSON in some cases? BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ What is the point of BSON when it is no smaller than JSON in some cases? BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ What is the point of BSON when it is no smaller than JSON in some cases? BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. In some cases BSON uses even more space than JSON. The reason for this is another of the BSON design goals: traversability. BSON adds some "extra" information to documents, like length of strings and subobjects. This makes traversal faster. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. In some cases BSON uses even more space than JSON. The reason for this is another of the BSON design goals: traversability. BSON adds some "extra" information to documents, like length of strings and subobjects. This makes traversal faster. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. In some cases BSON uses even more space than JSON. The reason for this is another of the BSON design goals: traversability. BSON adds some "extra" information to documents, like length of strings and subobjects. This makes traversal faster. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. In some cases BSON uses even more space than JSON. The reason for this is another of the BSON design goals: traversability. BSON adds some "extra" information to documents, like length of strings and subobjects. This makes traversal faster. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. In some cases BSON uses even more space than JSON. The reason for this is another of the BSON design goals: traversability. BSON adds some "extra" information to documents, like length of strings and subobjects. This makes traversal faster. BSON (BINARY JSON) SERIALIZATION BSON , short for Binary JSON, is a binary-encoded serialization of JSON-like documents.Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. BSON (BINARY JSON): IMPLEMENTATIONS Implementations of BSON exist for many different programming languages. Some implementations are currently embedded within MongoDB drivers, since MongoDB was the first large project to make use of BSON. Over time those libraries will be made more stand-alone, but they should be usable independently of MongoDB in their current state. BSON (BINARY JSON): SPECIFICATION Specification Version 1.1. BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. We call this entity a document.. The following grammar specifies version 1.1 of the BSON standard. BSON (BINARY JSON): FAQ BSON is designed to be efficient in space, but in some cases is not much more efficient than JSON. In some cases BSON uses even more space than JSON. The reason for this is another of the BSON design goals: traversability. BSON adds some "extra" information to documents, like length of strings and subobjects. This makes traversal faster.
BSON
}
01000010
01010011
01001111
01001110
{
BSON , short for Binary JSON , is a binary-encoded serialization of JSON-like documents. Like JSON, BSON supports the embedding of documents and arrays within other documents and arrays. BSON also contains extensions that allow representation of data types that are not part of the JSON spec. For example, BSON has a Date type and a BinData type. BSON can be compared to binary interchange formats, like Protocol Buffers . BSON is more "schema-less" than Protocol Buffers, which can give it an advantage in flexibility but also a slight disadvantage in space efficiency (BSON has overhead for field names within the serialized data). BSON was designed to have the following three characteristics: *
LIGHTWEIGHT
Keeping spatial overhead to a minimum is important for any data representation format, especially when used over the network.
*
TRAVERSABLE
BSON is designed to be traversed easily. This is a vital property in its role as the primary data representation for MongoDB .
*
EFFICIENT
Encoding data to BSON and decoding from BSON can be performed very quickly in most languages due to the use of C data types.
specification implementations FAQ discussion
Creative Commons — CC0