Download Latest Version v2.20.0 source code.tar.gz (928.3 kB)
Email in envelope

Get an email when there's a new version of JSON implementation for Ruby

Home / v2.20.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-23 715 Bytes
v2.20.0 source code.tar.gz 2026-06-23 928.3 kB
v2.20.0 source code.zip 2026-06-23 1.0 MB
Totals: 3 Items   2.0 MB 0

What's Changed

  • Both C and Java parsers are no longer recursive, so parsing very deep documents with max_nesting: false will no longer result in SystemStackError stack level too deep errors.
  • The :max_nesting option still defaults to 100.
  • Optimized floating point number parsing further by replacing the ryu algorithm by a port of Eisel-Lemire Fast Float.
  • Added JSON::ResumableParser to parse streams of JSON documents. Not yet available on JRuby.
  • Deprecate default support of JavaScript comments in the parser and add allow_comments: true parsing option.
  • Integrate with Ruby 4.1 ruby_sized_xfree.

Full Changelog: https://github.com/ruby/json/compare/v2.19.8...v2.20.0

Source: README.md, updated 2026-06-23