sashazykov/json-repair-rb

A simple Ruby gem designed to repair broken JSON strings

36
/ 100
Emerging

When working with data from sources like Large Language Models (LLMs), you often encounter JSON text that isn't perfectly formatted. This tool takes a 'broken' JSON string, like one with missing quotes or misplaced commas, and fixes it into a valid JSON string. This is for Ruby developers who need to reliably process JSON output that might not strictly adhere to standards.

No commits in the last 6 months.

Use this if you are a Ruby developer and need to parse JSON data that frequently arrives with minor formatting errors, especially from AI model outputs.

Not ideal if you need to process strictly valid JSON or are working in a programming language other than Ruby.

Ruby-development data-parsing LLM-output-processing API-integration
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

10

Forks

5

Language

Ruby

License

Last pushed

Dec 05, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/sashazykov/json-repair-rb"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.