---
title: "json 3.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each json release removed, renamed or changed: 23 breaking changes in 1 version on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/json
last_updated: 2026-12-04
---

# 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

Latest version `3.2.0`, released November 24, 2026. [Source repository](https://github.com/ruby/json)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

## json 3.0.0 breaking changes

json 3.0.0, released September 7, 2026: 23 breaking changes.

- **Removed** `create_additions`  

Code that relied on create_additions must implement a custom serializer using JSON::Coder instead. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `escape_slash`  

Use script_safe instead of escape_slash. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.dump_default_options`  

Removes JSON.dump_default_options [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.fast_generate`  

Removes JSON.fast_generate [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.fast_unparse`  

Removes JSON.fast_unparse [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.GenericObject`  

Removes JSON::GenericObject [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.load_default_options`  

JSON methods now always behave the same; code that set these defaults must pass options explicitly. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.PRETTY_STATE_PROTOTYPE`  

Removes JSON::PRETTY_STATE_PROTOTYPE [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.pretty_unparse`  

Removes JSON.pretty_unparse [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.restore`  

Removes JSON.restore [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.State.[]`  

Removes JSON::State#\[\] [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.State.[]=`  

Removes JSON::State#\[\]= [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.unparse`  

Removes JSON.unparse [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `JSON.unsafe_load_default_options`  

Removes JSON.unsafe_load_default_options [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `Kernel.j`  

Removes Kernel#j in json 3.0.0 [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Removed** `Kernel.jj`  

Removes Kernel#jj in json 3.0.0 [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Behavior changed**  

Typos or unsupported options passed to methods now raise instead of being ignored. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Behavior changed**  

Documents containing JavaScript-style comments are rejected unless allow_comments is enabled. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Behavior changed**  

Documents with lone trailing surrogate escapes that previously parsed now raise a parse error. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Behavior changed** `JSON.load`  

JSON.load no longer creates objects from additions by default. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Default changed** `allow_comments`  

Set allow_comments to true explicitly if you need to parse documents with comments. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Default changed** `allow_duplicate_key`  

Set allow_duplicate_key to true explicitly to keep accepting duplicate keys when parsing or generating. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)
- **Signature changed** `JSON.dump`  

Calls passing a limit as a positional argument to JSON.dump no longer work. [github.com](https://github.com/ruby/json/releases/tag/v3.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
