Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
-
Updated
Oct 1, 2026 - Python
Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
High-performance Go library for repairing invalid JSON documents, tuned for LLM-generated output
Repair JSON! A Java library for fixing JSON anomalies generated by LLMs.
Validate, repair, and retry LLM structured outputs. 13 repair strategies for common JSON malformations, JSON Schema validation, and retry-with-feedback prompts.
A practical, multi-layered JSON repair library for Elixir that intelligently fixes malformed JSON strings commonly produced by LLMs, legacy systems, and data pipelines.
Repair invalid JSON strings by automatically fixing common syntax errors
Vendor parameter translation and deterministic JSON repair for DeepSeek Harness: /translate maps temperature/top_p/max_tokens/stop/system across 11 vendors, and the post-execute repair layer (plus fix_json) fixes broken JSON tool output without ever fabricating data
Repair invalid JSON documents in Ruby: malformed LLM output, missing quotes and commas, unquoted keys, Markdown fences, NDJSON, comments, and more.
GenPark AI Agent Skill - Fault-tolerant LLM tool call payload repair, unescaped quote sanitization, and markdown codefence stripper.
🔧 Kotlin Multiplatform library for parsing and repairing partial/incomplete JSON strings. Perfect for handling streaming JSON from LLMs like ChatGPT. Features real-time JSON completion, robust error handling, and pure Kotlin implementation. Supports parse incomplete JSON into objects and complete/repair partial JSON to valid format.
GenPark AI Agent Skill - Fault-tolerant LLM tool call payload repair, unescaped quote sanitization, and markdown codefence stripper.
Strict JSON schema validator with streaming partial JSON repair, missing field filling, and sanitization
Strict JSON schema validator with streaming partial JSON repair, missing field filling, and sanitization
A PHP library that ensures strict JSON extraction and schema validation from LLM API responses, preventing malformed or unexpected output.
Ultra-low-latency reverse proxy that repairs truncated & malformed JSON in LLM streaming responses (OpenAI, Anthropic, Vertex AI, Bedrock) — fixes JSONDecodeError / serde_json EOF on truncated tool calls.
Hermes Tool Repair Skill - deterministic tool call repair for LLM agents. Catches common JSON formatting mistakes open models make and fixes them before dispatch, with repair notes that teach the model to self-correct.
Repair broken JSON in Rust — fix quotes, commas, comments, truncation, and 30+ issues from LLM outputs
Automatically extracts JSON from markdown/text, repairs common AI mistakes, validates structure. Returns clean data when successful, detailed feedback for retries when not.
A fast, conservative JSON repair library for malformed model output, hand-written config, and almost-JSON text. Repairs common syntax issues and returns clean Python objects.
To associate your repository with the json-repair topic, visit your repo's landing page and select "manage topics."