Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
dogada
13y ago
0 comments
Share
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
0 comments
default
newest
oldest
jerf
13y 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
13y ago
Thanks, jerf, done:
https://github.com/dogada/RJSON/commit/0a7fc5dd9e142477ebda9...
j
/
k
navigate · click thread line to collapse