Re:JSONH: JSON Homogeneous Collections Compressor
by resnamen on Saturday October 08, 2011 @08:38PM
(#3089264)
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.
[ Parent
| on HN ]
Re:JSONH: JSON Homogeneous Collections Compressor
by jacobolus on Saturday October 08, 2011 @08:46PM
(#3089279)
Yeah, 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