▲ | js8 a day ago | |||||||||||||||||||||||||||||||
Why not use a saner protocol than JSON, e.g. CBOR? | ||||||||||||||||||||||||||||||||
▲ | totallymike a day ago | parent | next [-] | |||||||||||||||||||||||||||||||
Is CBOR as popularly supported as JSON? Also, to answer your question with a guess, I would suppose it’s because they wanted to use JSON and they wrote the feature. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | tonyarkles a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Do you have a CBOR implementation that you like? Ideally one with decent schema support? I was looking into CBOR as a replacement for Protobufs for an embedded system I work on and it's got a lot going for it but every implementation I looked at seemed to support a very different subset of the schema spec and it was brutal to try to find a pair of libraries (C for the embedded side, C++ for the host side) that could actually share a set of schema files. |