RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in