Comparison
dirtyjson vs fix-busted-json vs json-repair vs partial-json-parser
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 partial JSON generated by LLM
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install partial-json-parserIn short
- dirtyjson looks abandoned: avoid it for new projects.
- json-repair is the most used: 49.2M downloads a month, 5.4× more than partial-json-parser.
- 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 | partial-json-parser |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 54 |