json_repair and ai-json-fixer

These are competitors offering similar JSON repair functionality for LLM outputs, with json_repair being the mature, widely-adopted solution while ai-json-fixer represents an alternative approach to the same problem.

json_repair
87
Verified
ai-json-fixer
35
Emerging
Maintenance 20/25
Adoption 25/25
Maturity 25/25
Community 17/25
Maintenance 2/25
Adoption 15/25
Maturity 18/25
Community 0/25
Stars: 4,585
Forks: 175
Downloads: 16,557,243
Commits (30d): 10
Language: Python
License: MIT
Stars: 26
Forks:
Downloads: 4,693
Commits (30d): 0
Language: TypeScript
License: MIT
No risk flags
Stale 6m No Dependents

About json_repair

mangiucugna/json_repair

A python module to repair invalid JSON from LLMs

Provides syntax error correction for common LLM output mistakes—missing quotes, unescaped characters, incomplete arrays/objects—while preserving content integrity. Uses a two-stage approach: first attempts standard library `json.loads()` for performance, then falls back to a custom repair parser only on failure. Offers drop-in replacements for `json.load()` and `json.loads()`, with optional `skip_json_loads` and `strict` modes for performance tuning and validation control.

About ai-json-fixer

aotakeda/ai-json-fixer

A simple JSON parser specifically designed to handle malformed JSON output from Large Language Models (LLMs) like GPT, Claude, and others.

Scores updated daily from GitHub, PyPI, and npm data. How scores work