Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dogada
· 14y ago · 0 comments
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
Comments
[–]
jerf
14y 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.
[–]
dogada
OP
14y ago
Thanks, jerf, done:
https://github.com/dogada/RJSON/commit/0a7fc5dd9e142477ebda9...