| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-11-07 | 680 Bytes | |
| v2.16.0 source code.tar.gz | 2025-11-07 | 886.0 kB | |
| v2.16.0 source code.zip | 2025-11-07 | 927.4 kB | |
| Totals: 3 Items | 1.8 MB | 0 | |
What's Changed
- Deprecate
JSON::State#[]andJSON::State#[]=. Consider usingJSON::Coderinstead. JSON::Codernow also yields to the block when encountering strings with invalid encoding.- Fix GeneratorError messages to be UTF-8 encoded.
- Fix memory leak when
Exceptionis raised, orthrowis used during JSON generation. - Optimized floating point number parsing by integrating the ryu algorithm (thanks to Josef Šimánek).
- Optimized numbers parsing using SWAR (thanks to Scott Myron).
- Optimized parsing of pretty printed documents using SWAR (thanks to Scott Myron).
Full Changelog: https://github.com/ruby/json/compare/v2.15.2...v2.16.0