JSON.hpack, the Fat-Free Alternative to JSON
JSON.hpack is a lossless, cross language, performances focused, data set compressor. It is able to reduce up to 70% number of characters used to represent a generic homogeneous collection.
To understand how to use JSON via JavaScript, PHP, or C# (Python coming soon and hopefully other languages as well), please have a look into the wiki page or if you want, try out the demo page!
I am waiting for comments :-)
Seems like a good extension candidate for Jaxer ;D
ReplyDeleteI think it can be quite useful for large data, especially if the choice is done dynamically on the server and with the data you return also the type of structure.
ReplyDeletedoesnt compress deep enough.
ReplyDeleteeg: if you have
{a:{b:{c:1}}}
generic homogeneous collection !
ReplyDeletewhich means a list of objects with same properties so it cannot work with nested objects