---
title: "serde_json 1.0.150 Breaking Changes on crates.io | Since.dev"
description: "What each serde_json release removed, renamed or changed: 239 breaking changes in 6 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/serde_json
last_updated: 2026-12-04
---

# serde_json breaking changes

serde_json 1.0.150 (May 21, 2026) is its newest release with breaking changes. The first: Rejects non-string enum object keys in serde_json 1.0.150. Every breaking API change we have recorded in serde_json on crates.io: 239 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.0.154`, released October 11, 2026. [Source repository](https://github.com/serde-rs/json)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.9.0](#v-0-9-0) to [1.0.150](#v-1-0-150): 73 breaking changes in 2 versions.
- From [0.6.0](#v-0-6-0) to [1.0.150](#v-1-0-150): 193 breaking changes in 5 versions.

## serde_json 1.0.150 breaking changes

serde_json 1.0.150, released May 21, 2026: 1 breaking change.

- **Behavior changed**  

Enum values with non-string object keys are now rejected instead of accepted. Code that relies on such keys must change its data or stop depending on them. [github.com](https://github.com/serde-rs/json/releases/tag/v1.0.150)

## serde_json 1.0.0 breaking changes

serde_json 1.0.0, released April 20, 2017: 72 breaking changes.

- **Removed**  

Use serde_json::from_reader instead of deserializing from an iterator of bytes. [github.com](https://github.com/serde-rs/json/releases/tag/v1.0.0)
- **Removed** `serde_json::de::Deserializer::from_iter`  

serde_json::de::Deserializer::from_iter was removed in serde_json 1.0.0 [crates.io](https://crates.io/crates/serde%5Fjson/1.0.0)
- **Removed** `serde_json::de::from_iter`  

serde_json::de::from_iter was removed in serde_json 1.0.0 [crates.io](https://crates.io/crates/serde%5Fjson/1.0.0)
- **Removed** `serde_json::de::IteratorRead`  

serde_json::de::IteratorRead was removed in serde_json 1.0.0 [crates.io](https://crates.io/crates/serde%5Fjson/1.0.0)
- **Removed** `serde_json::Deserializer::from_iter`  

serde_json::Deserializer::from_iter was removed in serde_json 1.0.0 [crates.io](https://crates.io/crates/serde%5Fjson/1.0.0)
- **Removed** `serde_json::from_iter`  

serde_json::from_iter was removed in serde_json 1.0.0 [crates.io](https://crates.io/crates/serde%5Fjson/1.0.0)
- **Removed** `serde_json::value::ToJson`  

Use serde_json::to_value instead of the ToJson trait. [crates.io](https://crates.io/crates/serde%5Fjson/1.0.0)
- **Removed** `serde_json.Error`  

Code that converts io::Error into serde_json::Error with From no longer compiles. [github.com](https://github.com/serde-rs/json/releases/tag/v1.0.0)
- **Behavior changed** `StreamDeserializer`  

Streams of other JSON values, such as booleans, no longer deserialize. Code that reads them must change. [github.com](https://github.com/serde-rs/json/releases/tag/v1.0.0)
- **Signature changed** `Formatter`  

Formatter methods return io::Result instead of serde_json::Result, so custom formatters must update their return types. [github.com](https://github.com/serde-rs/json/releases/tag/v1.0.0)

And 62 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## serde_json 0.9.0 breaking changes

serde_json 0.9.0, released January 25, 2017: 58 breaking changes.

- **Removed** `serde_json::builder`  

serde_json::builder was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::de::Deserializer::new`  

serde_json::de::Deserializer::new was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::de::StreamDeserializer::new`  

serde_json::de::StreamDeserializer::new was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::Deserializer::new`  

serde_json::Deserializer::new was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::error::Error::Io`  

serde_json::error::Error::Io was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::error::Error::Syntax`  

serde_json::error::Error::Syntax was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::error::ErrorCode`  

serde_json::error::ErrorCode was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::Error::Io`  

serde_json::Error::Io was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::Error::Syntax`  

serde_json::Error::Syntax was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)
- **Removed** `serde_json::ErrorCode`  

serde_json::ErrorCode was removed in serde_json 0.9.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.9.0)

And 48 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## serde_json 0.8.0 breaking changes

serde_json 0.8.0, released July 28, 2016: 54 breaking changes.

- **Removed** `serde_json::error::Error::FromUtf8`  

serde_json::error::Error::FromUtf8 was removed in serde_json 0.8.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Removed** `serde_json::Error::FromUtf8`  

The FromUtf8 variant of serde_json::Error is gone. Code matching on it must be updated. [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Removed** `serde_json::ser::escape_bytes`  

The public escape_bytes function was removed; it was never meant to be public. [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Removed** `serde_json::Value::as_string`  

serde_json::Value::as_string was removed in serde_json 0.8.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Removed** `serde_json::value::Value::as_string`  

serde_json::value::Value::as_string was removed in serde_json 0.8.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Renamed** `nightly-testing`  

Enable the unstable-testing feature instead of nightly-testing. [github.com](https://github.com/serde-rs/json/releases/tag/v0.8.0)
- **Renamed** `serde_json::builder::ArrayBuilder::unwrap`  

Use build() instead of unwrap() on the array builder. [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Renamed** `serde_json::builder::ObjectBuilder::unwrap`  

Use build() instead of unwrap() on the object builder. [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Renamed** `serde_json::Value::as_boolean`  

Use serde_json::Value::as_bool instead. [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)
- **Renamed** `serde_json::value::Value::as_boolean`  

Use serde_json::value::Value::as_bool instead. [crates.io](https://crates.io/crates/serde%5Fjson/0.8.0)

And 44 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## serde_json 0.7.0 breaking changes

serde_json 0.7.0, released February 27, 2016: 8 breaking changes.

- **Removed** `serde_json::error::Error::FromUtf8Error`  

serde_json::error::Error::FromUtf8Error was removed in serde_json 0.7.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Removed** `serde_json::error::Error::IoError`  

serde_json::error::Error::IoError was removed in serde_json 0.7.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Removed** `serde_json::error::Error::SyntaxError`  

serde_json::error::Error::SyntaxError was removed in serde_json 0.7.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Removed** `serde_json::Error::FromUtf8Error`  

serde_json::Error::FromUtf8Error was removed in serde_json 0.7.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Removed** `serde_json::Error::IoError`  

serde_json::Error::IoError was removed in serde_json 0.7.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Removed** `serde_json::Error::SyntaxError`  

serde_json::Error::SyntaxError was removed in serde_json 0.7.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Signature changed** `serde_json::to_value`  

Was fn to_value\<T>(value: &T) -> Value where T: ser::Serialize; now fn to_value\<T: ?Sized>(value: &T) -> Value where T: ser::Serialize. [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)
- **Signature changed** `serde_json::value::to_value`  

Was fn to_value\<T>(value: &T) -> Value where T: ser::Serialize; now fn to_value\<T: ?Sized>(value: &T) -> Value where T: ser::Serialize. [crates.io](https://crates.io/crates/serde%5Fjson/0.7.0)

## serde_json 0.6.0 breaking changes

serde_json 0.6.0, released August 31, 2015: 46 breaking changes.

- **Removed** `serde_json::error::Error::MissingFieldError`  

serde_json::error::Error::MissingFieldError was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedConversion`  

serde_json::error::ErrorCode::ExpectedConversion was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedEnumEnd`  

serde_json::error::ErrorCode::ExpectedEnumEnd was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedEnumEndToken`  

serde_json::error::ErrorCode::ExpectedEnumEndToken was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedEnumMapStart`  

serde_json::error::ErrorCode::ExpectedEnumMapStart was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedEnumToken`  

serde_json::error::ErrorCode::ExpectedEnumToken was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedEnumVariantString`  

serde_json::error::ErrorCode::ExpectedEnumVariantString was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::ExpectedName`  

serde_json::error::ErrorCode::ExpectedName was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::NotFourDigit`  

serde_json::error::ErrorCode::NotFourDigit was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)
- **Removed** `serde_json::error::ErrorCode::NotUtf8`  

serde_json::error::ErrorCode::NotUtf8 was removed in serde_json 0.6.0 [crates.io](https://crates.io/crates/serde%5Fjson/0.6.0)

And 36 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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.
