json breaking changes
json 3.0.0 (September 7, 2026) is its newest release with breaking changes, 23 of them. The first: Removed create_additions. Every breaking API change we have recorded in json on RubyGems: 23 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.2.0, released November 24, 2026. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
json 3.0.0 breaking changes
- Removed
create_additions
Code that relied on create_additions must implement a custom serializer using JSON::Coder instead. github.com - Removed
escape_slash
Use script_safe instead of escape_slash. github.com - Removed
JSON.dump_default_options
Removes JSON.dump_default_options github.com - Removed
JSON.fast_generate
Removes JSON.fast_generate github.com - Removed
JSON.fast_unparse
Removes JSON.fast_unparse github.com - Removed
JSON.GenericObject
Removes JSON::GenericObject github.com - Removed
JSON.load_default_options
JSON methods now always behave the same; code that set these defaults must pass options explicitly. github.com - Removed
JSON.PRETTY_STATE_PROTOTYPE
Removes JSON::PRETTY_STATE_PROTOTYPE github.com - Removed
JSON.pretty_unparse
Removes JSON.pretty_unparse github.com - Removed
JSON.restore
Removes JSON.restore github.com - Removed
JSON.State.[]
Removes JSON::State#[] github.com - Removed
JSON.State.[]=
Removes JSON::State#[]= github.com - Removed
JSON.unparse
Removes JSON.unparse github.com - Removed
JSON.unsafe_load_default_options
Removes JSON.unsafe_load_default_options github.com - Removed
Kernel.j
Removes Kernel#j in json 3.0.0 github.com - Removed
Kernel.jj
Removes Kernel#jj in json 3.0.0 github.com - Behavior changed
Typos or unsupported options passed to methods now raise instead of being ignored. github.com - Behavior changed
Documents containing JavaScript-style comments are rejected unless allow_comments is enabled. github.com - Behavior changed
Documents with lone trailing surrogate escapes that previously parsed now raise a parse error. github.com - Behavior changed
JSON.load
JSON.load no longer creates objects from additions by default. github.com - Default changed
allow_comments
Set allow_comments to true explicitly if you need to parse documents with comments. github.com - Default changed
allow_duplicate_key
Set allow_duplicate_key to true explicitly to keep accepting duplicate keys when parsing or generating. github.com - Signature changed
JSON.dump
Calls passing a limit as a positional argument to JSON.dump no longer work. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.