Re:MessagePack: like JSON, but fast and small
by jopsen on Tuesday March 10, 2020 @06:56PM
(#22540809)
CBOR is also used on WebAuthn, usage in a web spec means to me that someone smart considered it a sane choice -- and more importantly that the format is here to stay.
[ Parent
| on HN ]
Re:MessagePack: like JSON, but fast and small
by kbumsik on Tuesday March 10, 2020 @08:30PM
(#22541625)
It's great CBOR is accepted in wider area, but I am personally curious why WebAuthn choose CBOR instead of JSON. WebAuthn is a web browser feature, and why W3C would introduce a new data exchange format in their specs? Maybe WebAuthn needed a binary data type?
Re:MessagePack: like JSON, but fast and small
by jopsen on Wednesday March 11, 2020 @06:08PM
(#22551343)
I'm guessing a binary format is nice when interacting with a device..
Anybody know if (and why) U2F uses CBOR?
Re:MessagePack: like JSON, but fast and small
by SlowRobotAhead on Tuesday March 10, 2020 @07:32PM
(#22541174)
CBOR’s RFC: https://tools.ietf.org/html/rfc7049
And Amazon has picked it up as a first class citizen in some of their IoT Core features. It’s definitely here to stay.