Comparison
dirtyjson vs fix-busted-json vs json-repair vs partialjson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON decoder for Python that can extract data from the muck
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install dirtyjsonFixes broken JSON string objects
Maintained. Last release 10 months ago. Weaker on release cadence.
pip install fix-busted-jsonA package to repair broken json strings
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install json-repairParse incomplete or partial JSON, e.g. from a streaming LLM response
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install partialjsonIn short
- dirtyjson looks abandoned: avoid it for new projects.
- json-repair is the most used: 49.2M downloads a month, 8.9× more than dirtyjson.
- json-repair also has the best Pythie’s Index (85).
- json-repair is growing fastest: downloads +35% over the last month.
- Safe default for a new project: json-repair.
Side by side
| Metric | dirtyjson | fix-busted-json | json-repair | partialjson |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 54 |