lysdexic@programming.dev to Programming@programming.devEnglish · 9 months agoCBOR — Concise Binary Object Representationcbor.ioexternal-linkmessage-square4fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkCBOR — Concise Binary Object Representationcbor.iolysdexic@programming.dev to Programming@programming.devEnglish · 9 months agomessage-square4fedilink
minus-squareDeebster@programming.devlinkfedilinkarrow-up0·9 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-up1·9 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·9 months agoI think it’s hard to provide examples of a binary format beyond a few benchmarks.
minus-squareDeebster@programming.devlinkfedilinkEnglisharrow-up2·6 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.