pypi / simplejson
simplejson
What changed in simplejson 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
1 breaking1 new APIs and options2 tooling5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsimplejson 49 changes
Breaking changes 1
Circular references introduced by custom JSON methods are now checked.
New APIs and options 1
Large integer stringification thresholds are supported in both encoders.
Tooling 2
Wheels are now built for CPython 3.15, making them available to developers using that Python version.
Wheel builds are now available for Python 2.7 on Windows platforms.
Fixes and other changes 5
The C scanner now uses the first-key error message.
The reported position for a control character is corrected when content precedes it.
Invalid \X escape errors report the offending character rather than the backslash.
The encoder handles non-finite Decimals the same way it handles floats.
Illegal trailing comma errors report the comma position.