v2.16.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: v2.15.2...v2.16.0