Unclaimed project
Are you a maintainer of json? Claim this project to take control of your public changelog and roadmap.
JSON.load and JSON.unsafe_load to allow passing options as second argument.\", \\, \b, \f, \n, \r, \t and \u are valid JSON escapes.JSON::Coder to use the depth it was initialized with.to_json on the return value of as_json for Float::NAN.state.depth: when to_json changes state.depth but does not restore it, it is reset
automatically to its initial value.
In particular, when a NestingError is raised, depth is no longer equal to max_nesting after the call to
generate, and is reset to its initial value. Similarly when to_json raises an exception.Full Changelog: https://github.com/ruby/json/compare/v2.16.0...v2.17.0