|
|
|
|
|
by spc476
2673 days ago
|
|
There are a few more advantages to CBOR: 1) there's a distinction between integers and floating point values; 2) you can semantically tag values (yes, this is a text string, but treat it as a date; this is a binary string, but treat it as a big number; etc.); 3) you can have maps with non-text keys. I'm not sure what Carsten Bormann's ego has to do with CBOR, but I found RFC-7049 one of the better written specs, with plenty of encoding examples. It made it real easy to write a encoder/decoder [1] and use the examples as test cases. [1] https://github.com/spc476/CBOR |
|
I agree that having lots of examples in the spec is good.