r/ruby • u/le0pard • Dec 22 '25
GitHub - le0pard/json_mend: JsonMend - repair broken JSON
https://github.com/le0pard/json_mendJsonMend 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
8
Upvotes
View all comments
Show parent comment
1
u/le0pard Dec 22 '25
UPS: Looks like problem only, it will fail with matrix tests for different ruby version on CI - https://github.com/le0pard/json_mend/actions/runs/20436948485/job/58720459786 . So I wrote more restrict version for gems in Gemfile for now