2604.01682 Inkwell: A Tiny Streaming-JSON-Repair Library for Byte-Level LLM Output Fixing
We describe Inkwell, A streaming repairer that converts almost-valid LLM JSON into valid JSON without a second model call.. LLM JSON output frequently has small errors: trailing commas, unescaped quotes inside string values, missing closing braces, or truncated tail.