Meet gem nosj, gem json's evil powerful twin. Faster, more features, easy to debug
Meet gem nosj, gem json’s evil powerful twin.
https://github.com/yaroslav/nosj-ruby
- nosj is faster at parsing and generation than json and other gems.
- It has a drop-in support mode for gem json, and Rails support mode which significantly accelerates Rails JSON operations.
- It has a lazy API: parses values only when you touch them.
- It has partial parsing / JSON pointer support.
- It does splicing edits on the fly and supports JSON patch/merge.
- It has JSON lines/NDJSON support.
- It has fast validation mode and it can minify and format JSON without parsing.
- It has file APIs for most operations, so you can read data faster with memory-mapping and skip stringifying it.
- It is a joy to debug with: friendly, detailed error messages and document statistics.
Post a comment