org.json:json breaking changes
org.json:json 20260719 (July 19, 2026) is its newest release with breaking changes. The first: Bounds BigDecimal to BigInteger conversion as part of a CVE fix in org.json:json 20260719. Every breaking API change we have recorded in org.json:json on Maven Central: 10 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 20260814, released August 14, 2026. Source repository
Packages on Maven Central run on Java. Java end of life dates.
- From 20260522 to 20260719: 1 breaking change in 1 version.
- From 20230227 to 20260719: 9 breaking changes in 6 versions.
org.json:json 20260719 breaking changes
- Behavior changed
Conversion from BigDecimal to BigInteger is now bounded, so values that were previously accepted during object-to-BigInteger conversion may now be rejected. Review code that converts very large decimal values. github.com
org.json:json 20260522 breaking changes
- Behavior changed
JSONObject.fromJson
JSONObject.fromJson() no longer reads or sets static fields on the target class. Code that relied on static fields being filled from JSON must change. github.com
org.json:json 20250517 breaking changes
- Behavior changed
The JSONObject and JSONArray constructors now take their parsing settings from JSONParserConfiguration via JSONTokener, which may change how existing input is parsed. github.com - Behavior changed
keepStrings
The keepStrings option now reflects the separate keepBooleanAsString and keepNumberAsString flags, so code relying on its previous behavior may parse values differently. github.com
org.json:json 20240205 breaking changes
- Removed
org.json.JSONObject.stringToNumber
JSONObject.stringToNumber was removed in org.json:json 20240205 central.sonatype.com
org.json:json 20231013 breaking changes
- Behavior changed
This release disallows nested objects and arrays as keys in objects. Code that used them as keys must use plain string keys instead. github.com - Behavior changed
JSONObject
JSONObject constructors now perform a validity check and may reject input they previously accepted. Code passing invalid input to these constructors may need to handle the new failure. github.com
org.json:json 20230618 breaking changes
- Signature changed
org.json.JSONMLParserConfiguration
Was class JSONMLParserConfiguration; now class JSONMLParserConfiguration extends org.json.ParserConfiguration. central.sonatype.com - Signature changed
org.json.XMLParserConfiguration
Was class XMLParserConfiguration; now class XMLParserConfiguration extends org.json.ParserConfiguration. central.sonatype.com
Older versions
1 older version.
Show 1 older version
org.json:json 20230227 breaking changes
- Behavior changed
XML parsing now enforces a limit on nesting depth, so deeply nested XML that parsed before may now fail. Check inputs for unusually deep nesting. 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.