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.
- The
- 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: v2.19.8...v2.20.0