The codebase uses simplejson in a few places, but stdlib json is sufficient for modern Python 3.x.
Files to update
Search for simplejson imports and replace with json.
Changes needed
- Replace
import simplejson or import simplejson as json with import json
- Remove simplejson from
pyproject.toml dependencies
- Test that JSON encoding/decoding still works correctly
Notes
- simplejson was historically used for Python 2 compatibility and performance
- Modern stdlib json handles most use cases
- Reduces external dependencies
The codebase uses
simplejsonin a few places, but stdlibjsonis sufficient for modern Python 3.x.Files to update
Search for
simplejsonimports and replace withjson.Changes needed
import simplejsonorimport simplejson as jsonwithimport jsonpyproject.tomldependenciesNotes