json_repair

The premium Open Source alternative to Pydantic (Validation)

🎯 Best for:Developers building LLM agents that struggle with consistent JSON formatting.

What is json_repair?

Replaces fragile regex-based JSON parsing with a robust recovery library for malformed LLM strings. Implements a context-aware parser that automatically closes brackets and fixes quotes in real-time.

Tech Stack
PythonAI, ML & Data

Why json_repair?

  • Zero dependencies
  • Handles nested malformations
  • Extremely fast execution

Limitations

  • Python only
  • May guess intent incorrectly
  • Not a schema validator
4/17/2026
Last Update
186
Forks
0
Issues
MIT
License
Financial Leak Detected

Stop the "SaaS Tax"

Your team could be burning cash. Switching to json_repair instantly boosts your runway.

Competitor Cost
-$1,440
/ year (est. based on Pydantic (Validation))
Self-Hosted
$0
/ year
Team Size10 Users
150+
SAVE 100%

Community Discussion

Comments