v2.11.0
What's Changed
- Optimize Integer generation to be ~1.8x faster.
- Optimize Float generation to be ~10x faster.
- Fix
JSON.loadproc argument to substitute the parsed object with the return value.
This better matchMarshal.loadbehavior. - Deprecate
JSON.fast_generate(it's not any faster, so pointless). - Deprecate
JSON.load_default_options. - Deprecate
JSON.unsafe_load_default_options. - Deprecate
JSON.dump_default_options. - Deprecate
Kernel#j - Deprecate
Kernel#jj - Remove outdated
JSON.iconv. - Remove
Class#json_creatable?monkey patch. - Remove deprecated
JSON.restoremethod. - Remove deprecated
JSON.unparsemethod. - Remove deprecated
JSON.fast_unparsemethod. - Remove deprecated
JSON.pretty_unparsemethod. - Remove deprecated
JSON::UnparserErrorconstant. - Remove outdated
JSON::MissingUnicodeSupportconstant.
Full Changelog: v2.10.2...v2.11.0