What is BSON?

BSON, as name sound?s, it is short name of Binary JSON. BSON is binary serialized JSON like objects. BSON is just like JSON which supports array and array of other objects.

There is one difference between JSON and BSON is that BSON supports some data type information also.

BSON is designed by keeping these things in mind.

Lightweight
Data representation should be lightweight for network uses.

Traversable
BSON is de­signed to be tra­versed eas­ily. Like JSON.

Efficient
En­cod­ing data to BSON and de­cod­ing from BSON can be per­formed very quickly in most lan­guages due to the use of C data types.

For more info please see http://bsonspec.org

Leave a Reply

Your email address will not be published. Required fields are marked *