RubyGems Navigation menu

json-repair 0.11.1

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.

Gemfile:
=

install:
=

Versions:

  1. 0.12.0 June 12, 2026 (32.5 KB)
  2. 0.11.3 June 12, 2026 (31 KB)
  3. 0.11.2 June 12, 2026 (30.5 KB)
  4. 0.11.1 June 12, 2026 (29 KB)
  5. 0.11.0 June 12, 2026 (29 KB)
Show all versions (13 total)

Owners:

Pushed by:

Authors:

  • Aleksandr Zykov

SHA 256 checksum:

=

Total downloads 95,021

For this version 308

Version Released:

License:

ISC

Required Ruby Version: >= 3.0.0

Links: