HAibiiin/json-repair

Repair JSON! A Java library for fixing JSON anomalies generated by LLMs.

43
/ 100
Emerging

This is a Java library designed to automatically correct malformed JSON text, especially when it's generated by large language models (LLMs). You input a JSON string that might be missing quotes, brackets, or commas, and it outputs a properly formatted JSON string. This tool is for Java developers building applications that process LLM outputs.

Use this if you are a Java developer whose application frequently receives imperfect JSON from LLMs and needs a robust way to clean it up before further processing.

Not ideal if you are not a Java developer, or if you primarily work with perfect, validated JSON data that doesn't require repair.

Java development LLM integration data parsing API development data pipeline
No Package No Dependents
Maintenance 10 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 8 / 25

How are scores calculated?

Stars

94

Forks

5

Language

Java

License

Apache-2.0

Last pushed

Feb 14, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/HAibiiin/json-repair"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.