AI development/GitHub/Tool
json-repair
by RealAlexandreAI·Last observed 2026-10-27
★ 384 stars⑂ 23 forks
json-repair is a Go library and CLI for repairing malformed JSON produced by LLMs.
Useful for
- Handling malformed LLM responses before passing them to structured-data consumers
Key features
- Basic calls return compact JSON; the options API adds repair logs, strict mode and schema-guided repair.
Requirements & limitations
- The module specifies Go 1.21 and no third-party dependencies. Syntactic repair does not establish factual or semantic correctness.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.