Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
-
Updated
Jun 9, 2026 - Python
Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
Repair invalid JSON documents in Ruby: malformed LLM output, missing quotes and commas, unquoted keys, Markdown fences, NDJSON, comments, and more.
Robust extraction of structured payloads from LLM output via sentinel blocks (<<<TAG>>> … <<<END>>>). Survives quotes, newlines & braces that break JSON.parse. 10 language ports, one spec.
FORENSIC ARTIFACT: LLM-generated content from a cross-session data leak via OpenCode Zen. Not authored by this account. See github.com/nexusrootlab/incident
Cute beavers gnaw your Unicode & ASCII box tables into Markdown pipe tables.
Extract valid JSON from an LLM response, even when wrapped in reasoning/thinking tags, markdown fences or prose. Zero dependencies.
Add a description, image, and links to the llm-output topic page so that developers can more easily learn about it.
To associate your repository with the llm-output topic, visit your repo's landing page and select "manage topics."