malformed-json
Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
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.