Repairs broken JSON: missing quotes and commas, unclosed brackets, trailing commas, unquoted keys, single quotes, comments, Python constants, NDJSON, Markdown code fences and list markers in LLM output, truncated documents, and more. A Ruby port of the jsonrepair JavaScript library — useful whenever JSON from LLMs, APIs, or logs does not strictly follow the standard.

Required Ruby Version

>= 3.0.0

Authors

Aleksandr Zykov

Versions

  1. 0.15.0 June 17, 2026 (35 KB)
  2. 0.14.0 June 17, 2026 (34 KB)
  3. 0.13.0 June 17, 2026 (33 KB)
  4. 0.12.0 June 12, 2026 (32.5 KB)
  5. 0.11.3 June 12, 2026 (31 KB)
Show all versions (16 total)

Pushed by

SHA 256 checksum