jsonpack
jsonpack copied to clipboard
A compression algorithm for JSON
Are there any implementations in other languages? We'd like to maintain compatibility across code bases, and I haven't been able to find any other implementations. C#, Java, etc.
Updated the license URL in `main.js` to point to the `LICENSE.md` in this repo
after transformation see[https://github.com/JoiLa/gjsonpack]
A review
A review of this repository must be done. Any help in performance tests will be welcome :)
- fix incorrect dictionary checking that lead to storing unique value multiple times in some cases; - improve performance by using objects instead of arrays in dictionary which significantly speeds...
Closes #24 Added isArray function which uses Array.isArray if it exists and checks for array in the prototype if not.
Having an array which is not instance of Array object is resulting in packing the value as object. Here is inspection of the value from IDE: And packed result is:...
It looks that jsonpack doesn't work with Date objects expected: "created_at": "2019-10-20T17:36:29.034Z", got "created_at": {}
I just did a `bower install sapienlab/jsonpack` and included `main.js` in my build. I get: ``` Uncaught Error: Cannot find module 'function (define) { ``` What's causing that?