RubyGems Navigation menu

json-repair 0.15.0

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.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)

Owners:

Pushed by:

Authors:

  • Aleksandr Zykov

SHA 256 checksum:

=

Total downloads 98,843

For this version 424

Version Released:

License:

ISC

Required Ruby Version: >= 3.0.0

Links: