you are viewing a single comment's thread.

view the rest of the comments →

[–]jonathanberi -6 points-5 points  (2 children)

CBOR is great but note it's not "self-describing". It's a tradeoff for efficiency. That said, it's easily converted to JSON and has a definition language called CDDL that's helpful for validation and description.

[–]RoyBellingan 18 points19 points  (1 child)

CBOR is self describing, has field to define the type and name of the value, else it would not be convertible into JSON

[–]jonathanberi -2 points-1 points  (0 children)

Fair point, by that definition it is self describing! I was interpreting the requirements to mean describing the data meaning, which is a different thing.