Y
Hacker News
new
|
ask
|
show
|
jobs
by
dogada
5124 days ago
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
1 comments
jerf
5124 days ago
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.
link
dogada
5124 days ago
Thanks, jerf, done:
https://github.com/dogada/RJSON/commit/0a7fc5dd9e142477ebda9...
link