RubyGems Navigation menu

json_mend 0.2.0

JsonMend is a robust Ruby gem designed to repair broken or malformed JSON strings. It is specifically optimized to handle common errors found in JSON generated by Large Language Models (LLMs), such as missing quotes, trailing commas, unescaped characters, and stray comments

Gemfile:
=

install:
=

Versions:

  1. 0.2.2 April 03, 2026 (23 KB)
  2. 0.2.1 April 03, 2026 (22.5 KB)
  3. 0.2.0 April 03, 2026 (22.5 KB)
  4. 0.1.7 December 22, 2025 (21.5 KB)
  5. 0.1.6 December 22, 2025 (21 KB)
Show all versions (11 total)

Runtime Dependencies (2):

json >= 2.3
strscan >= 3

Owners:

Pushed by:

GitHub

Authors:

  • Oleksii Vasyliev

SHA 256 checksum:

=

Provenance:

Total downloads 4,429

For this version 102

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: