---
title: "simplejson 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each simplejson release removed, renamed or changed: 9 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/simplejson
last_updated: 2026-12-04
---

# simplejson breaking changes

simplejson 4.0.0 (April 18, 2026) is its newest release with breaking changes, 9 of them. The first: simplejson 4.0.0 drops support for Python 2.5 and 2.6 and requires Python 2.7 or later. Every breaking API change we have recorded in simplejson on PyPI: 9 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 `4.3.0`, released November 10, 2026. [Source repository](https://github.com/simplejson/simplejson)

Its 4.0.0 release requires Python 2.7 or later. [Python end of life dates](https://since.dev/calendar/python.md).

## simplejson 4.0.0 breaking changes

simplejson 4.0.0, released April 18, 2026: 9 breaking changes.

- **Removed**  

simplejson 4 requires Python 2.7 or Python 3.8 or later, and pip will not install it on older versions. Stay on simplejson 3.x if you need those Python versions. [github.com](https://github.com/simplejson/simplejson/releases/tag/v4.0.0)
- **Removed** `simplejson.tests.test_decode.TestDecode.assertIs`  

TestDecode.assertIs was removed in simplejson 4.0.0 [pypi.org](https://pypi.org/project/simplejson/4.0.0/)
- **Behavior changed**  

The pure-Python decoder no longer accepts Unicode digits such as fullwidth digits in numbers, matching the C scanner. Input that relied on them will now fail. [github.com](https://github.com/simplejson/simplejson/releases/tag/v4.0.0)
- **Behavior changed**  

For list, tuple or dict subclasses that define \_asdict(), the Python encoder now uses the \_asdict() return value, as the C encoder already did. Encoded output for such objects may change. [github.com](https://github.com/simplejson/simplejson/releases/tag/v4.0.0)
- **Behavior changed**  

Inputs such as \[1,\] and {"a": 1,} still fail, but with the message "Illegal trailing comma before end of object/array". Code that matches the old error text must be updated. [github.com](https://github.com/simplejson/simplejson/releases/tag/v4.0.0)
- **Signature changed** `simplejson.encoder.encode_basestring`  

Was def encode_basestring(s, \_PY3=PY3, \_q='"'); now encode_basestring. [pypi.org](https://pypi.org/project/simplejson/4.0.0/)
- **Signature changed** `simplejson.JSONDecoder.__init__`  

Was def \_\_init\_\_(self, encoding=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None, allow_nan=False); now def \_\_init\_\_(self, encoding=None, object_hook=None, parse_float=None... [pypi.org](https://pypi.org/project/simplejson/4.0.0/)
- **Signature changed** `simplejson.load`  

Was def load(fp, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, use_decimal=False, allow_nan=False, \*\*kw); now def load(fp, encoding=None, cls=None... [pypi.org](https://pypi.org/project/simplejson/4.0.0/)
- **Signature changed** `simplejson.loads`  

Was def loads(s, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, use_decimal=False, allow_nan=False, \*\*kw); now def loads(s, encoding=None, cls=None... [pypi.org](https://pypi.org/project/simplejson/4.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.
