4 ms·
Why JSON? QR can store binary data. Something like BSON would make a lot more sense, given the tiny amount of storage in a QR code. Even ASN.1 seems more appro
by userbinator 11y ago
Why JSON?
QR can store binary data. Something like BSON would make a lot more sense, given the tiny amount of storage in a QR code. Even ASN.1 seems more appropriate than the silly data->ASCII->ASCII-structured-format->binary encoding that's going on here, and admittedly in a lot of other transport formats too.
- arnarbi 11y agoNot wanting to start flame wars, but consider CBOR instead of BSON (which only really makes sense if you want to integrate with MongoDB). http://cbor.io/ http://cbor.io/
- yrro 11y agoI hadn't heard of this one before. I like that it has an RFC attached (RFC7049) which contains in the appendices comparisons to other similar systems such as MessagePack and BSON.