3 ms·
Anyone care to comment on where we might use such a thing? Is it already in use? And does it compare favourably with BSON?
by stevecooperorg 13y ago
Anyone care to comment on where we might use such a thing? Is it already in use? And does it compare favourably with BSON?
- lucian1900 13y agoIt looks closer to msgpack if anything, but with actual strings and bytes.
- memracom 13y agoIt is inspired by msgpack. If you read the RFC then you will see that the authors like msgpack but have some different requirements.
- moondowner 13y agoIn Appendix E in the spec, named "Comparison of Other Binary Formats to CBOR's Design Objectives" there are several comparisons - including BSON: [BSON] is a data format that was developed for the storage of JSON- like maps (JSON objects) in the MongoDB database. Its major distinguishing feature is the capability for in-place update, foregoing a compact representation. BSON uses a counted representation except for map keys, which are null-byte terminated. While BSON can be used for the representation of JSON-like objects on the wire, its specification is dominated by the requirements of the database application and has become somewhat baroque. The status of how BSON extensions will be implemented remains unclear.