| Name | Modified | Size | Downloads / 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: falsewill no longer result inSystemStackError stack level too deeperrors. - The
:max_nestingoption still defaults to100. - Optimized floating point number parsing further by replacing the ryu algorithm by a port of Eisel-Lemire Fast Float.
- Added
JSON::ResumableParserto parse streams of JSON documents. Not yet available on JRuby. - Deprecate default support of JavaScript comments in the parser and add
allow_comments: trueparsing option. - Integrate with Ruby 4.1
ruby_sized_xfree.
Full Changelog: https://github.com/ruby/json/compare/v2.19.8...v2.20.0