lysdexic@programming.dev to Programming@programming.devEnglish · 6 months agoCBOR — Concise Binary Object Representationcbor.ioexternal-linkmessage-square6fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkCBOR — Concise Binary Object Representationcbor.iolysdexic@programming.dev to Programming@programming.devEnglish · 6 months agomessage-square6fedilink
minus-squareDeebster@programming.devlinkfedilinkarrow-up0·6 months agoThey might get some more uptake if they had some examples or a more concise explanation than just linking to the RFC (aside from the tutorial in French).
minus-squareswordsmanluke@programming.devlinkfedilinkarrow-up0·6 months agoYeah. Some basic tables showing how a json object would be encoded in CBOR would go a long way. RFCs make for dry reading.
minus-squarelysdexic@programming.devOPlinkfedilinkEnglisharrow-up0·6 months agoI think it’s hard to provide examples of a binary format beyond a few benchmarks.
minus-squareDeebster@programming.devlinkfedilinkEnglisharrow-up0·4 months agoCompare to MessagePack’s example from their front page: It answers 90% of my questions in a quick example.
They might get some more uptake if they had some examples or a more concise explanation than just linking to the RFC (aside from the tutorial in French).
Yeah. Some basic tables showing how a json object would be encoded in CBOR would go a long way.
RFCs make for dry reading.
I think it’s hard to provide examples of a binary format beyond a few benchmarks.
Compare to MessagePack’s example from their front page:
It answers 90% of my questions in a quick example.