---
title: "com.alibaba:fastjson 2.0.0 Breaking Changes on Maven Central"
description: "What each com.alibaba:fastjson release removed, renamed or changed: 399 breaking changes in 1 version on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/com.alibaba:fastjson
last_updated: 2026-12-04
---

# com.alibaba:fastjson breaking changes

com.alibaba:fastjson 2.0.0 (April 17, 2022) is its newest release with breaking changes, 399 of them. The first: Removed com.alibaba.fastjson.annotation.JSONField.defaultValue. Every breaking API change we have recorded in com.alibaba:fastjson on Maven Central: 399 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 `2.0.66`, released October 18, 2026. 

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

## com.alibaba:fastjson 2.0.0 breaking changes

com.alibaba:fastjson 2.0.0, released April 17, 2022: 399 breaking changes.

- **Removed** `com.alibaba.fastjson.annotation.JSONField.defaultValue`  

JSONField.defaultValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.annotation.JSONType.autoTypeCheckHandler`  

JSONType.autoTypeCheckHandler was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.asm.ClassReader`  

com.alibaba.fastjson.asm.ClassReader was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.asm.MethodCollector`  

com.alibaba.fastjson.asm.MethodCollector was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.asm.Opcodes.GOTO_W`  

com.alibaba.fastjson.asm.Opcodes.GOTO_W was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.asm.TypeCollector`  

com.alibaba.fastjson.asm.TypeCollector was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.addMixInAnnotations`  

JSON.addMixInAnnotations was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.clearMixInAnnotations`  

JSON.clearMixInAnnotations was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.getMixInAnnotations`  

JSON.getMixInAnnotations was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.handleResovleTask`  

JSON.handleResovleTask was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.isValidObject`  

JSON.isValidObject was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.removeMixInAnnotations`  

JSON.removeMixInAnnotations was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.setDefaultTypeKey`  

JSON.setDefaultTypeKey was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.toJSONBytesWithFastJsonConfig`  

JSON.toJSONBytesWithFastJsonConfig was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.toJSONStringZ`  

JSON.toJSONStringZ was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.toString`  

JSON.toString was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.writeJSONStringTo`  

JSON.writeJSONStringTo was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSON.writeJSONStringWithFastJsonConfig`  

JSON.writeJSONStringWithFastJsonConfig was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.clone`  

JSONArray.clone was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.componentType`  

JSONArray.componentType was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.equals`  

JSONArray.equals was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.fluentAddAll`  

JSONArray.fluentAddAll was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.fluentClear`  

JSONArray.fluentClear was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.fluentRemove`  

JSONArray.fluentRemove was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.fluentRemoveAll`  

JSONArray.fluentRemoveAll was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.fluentRetainAll`  

JSONArray.fluentRetainAll was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.fluentSet`  

JSONArray.fluentSet was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getBigDecimal`  

JSONArray.getBigDecimal was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getBigInteger`  

JSONArray.getBigInteger was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getBoolean`  

JSONArray.getBoolean was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getBooleanValue`  

JSONArray.getBooleanValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getByte`  

JSONArray.getByte was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getByteValue`  

JSONArray.getByteValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getComponentType`  

JSONArray.getComponentType was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getDate`  

JSONArray.getDate was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getDouble`  

JSONArray.getDouble was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getDoubleValue`  

JSONArray.getDoubleValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getFloat`  

JSONArray.getFloat was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getFloatValue`  

JSONArray.getFloatValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getInteger`  

JSONArray.getInteger was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getIntValue`  

JSONArray.getIntValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getJSONArray`  

JSONArray.getJSONArray was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getLong`  

JSONArray.getLong was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getLongValue`  

JSONArray.getLongValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getRelatedArray`  

JSONArray.getRelatedArray was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getShort`  

JSONArray.getShort was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getShortValue`  

JSONArray.getShortValue was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getSqlDate`  

JSONArray.getSqlDate was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.getTimestamp`  

JSONArray.getTimestamp was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)
- **Removed** `com.alibaba.fastjson.JSONArray.hashCode`  

JSONArray.hashCode was removed in com.alibaba:fastjson 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/com.alibaba/fastjson/2.0.0)

And 349 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.
