4 ms·
If going with this means adopting a specialized library with its own format, sticking with a fixed schema, and giving up human readable formatting, why not go w
by resnamen 15y ago
If going with this means adopting a specialized library with its own format, sticking with a fixed schema, and giving up human readable formatting, why not go whole hog and use protocol buffers instead? It'd be cheaper to convert and store.
- mdonahoe 15y agoWhy do people keep doing this to JSON?
- jacobolus 15y agoYeah, exactly. On the other hand, are there any good JavaScript implementations of serialization formats like Thrift/Protobufs? Any new project like this that wants to be taken seriously should really provide metrics comparing both wire size and decode speed (ideally in 2 or 3 browsers) versus (at least): * Raw JSON * Gzipped JSON * Protobufs or some similar format