Re:RJSON: compress JSON to JSON
by dogada on Tuesday June 05, 2012 @10:37AM
(#4068785)
Yeah, for arrays with first numeric value is reserved schema with index 0. You can see more examples in the unit tests:
https://github.com/dogada/RJSON/blob/master/test/tests.js
[ Parent
| on HN ]
Unit test suggestion: testPackAndUnpack should also check double-compress and double-decompress for being identical, it'll tend to find any remaining such issues, if any.
Thanks, jerf, done: https://github.com/dogada/RJSON/commit/0a7fc5dd9e142477ebda9...