Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dogada
14y ago
0 comments
Save
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
2 comments · 1 top-level
top
newest
oldest
jerf
14y ago
· 1 in thread
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...
j
/
k
navigate · click thread line to collapse