Release v2.8.0 · ruby/json

08-Nov-2024 101
Emit a deprecation warning when JSON.load create custom types without the create_additions option being explictly enabled. Prefer to use JSON.unsafe_load(string) or JSON.load(string, create_additions: true). Emit a deprecation warning when serializing valid UTF-8 strings encoded in ASCII_8BIT aka BINARY. Bump required Ruby version to 2.7. Add support for optionally parsing trailing commas, via allow_trailing_comma: true, which in cunjunction with the pre-existing support for comments, make it suitable to parse jsonc documents. Many performance improvements to JSON.parse and JSON.load, up to 1.7x faster on real world documents. Some minor performance improvements to JSON.dump and JSON.generate.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle