RFC 7049 - Concise Binary Object Representation (CBOR)
tools.ietf.org
RFC 7049 - Concise Binary Object Representation (CBOR)
1–10 of 53 posts
Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#2Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#3Anyone care to comment on where we might use such a thing? Is it already in use? And does it compare favourably with BSON?
Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#4Anyone care to comment on where we might use such a thing? Is it already in use? And does it compare favourably with 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.Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#5Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#6Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#7Which is strange for a thing calling itself 'concise'.
Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#8I would like to see how this compares to other formats with respect to serialised size...
Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#9Re: RFC 7049 - Concise Binary Object Representation (CBOR)
#10Avoiding the need for protocol version negotiation might be a useful feature in some systems, but it seems to me that the things you lose makes it really not worth it. Particularly, a protocol without atoms invariably ends up like most JSON APIs -- very 'stringly typed', somewhat poorly defined, and verbose on the wire. Which is strange for a thing calling itself 'concise'.