BSON – a fast-traversal JSON format
We have already learned about BSON implementation in MongoDB. In fact, MongoDB was the first one to leverage BSON fully. We won't learn about other implementations for now, as they are beyond the scope of this book. Interested readers can visit this link for more information: http://bsonspec.org/implementations.html.
As JSON data is converted to binary, there is increase in the speed of traversal of BSON data. BSON extends the JSON data type collection by providing more data type support with respect to binData and Date type. These advantages make BSON capable of using it as a record for any unstructured database design.
If the BSON format is used for data passing over network, as the data is binary, the encoding and decoding of data among different network devices is simpler and can be done at quicker speeds.
BSON is storage efficient—still, it may be slightly bigger in size when compared to serialized JSON. This is because BSON data has more properties...