kaptinlin / jsonrepair
High-performance Go library for repairing invalid JSON documents, tuned for LLM-generated output
Why this job: works in the areas we cover, but does not say which job it does
What it does
- Missing syntax repair. Adds missing quotes, commas, colons, and closing brackets when the intent is clear.
- Quote normalization. Converts single quotes and smart quotes into valid JSON string quotes.
- Comment removal. Removes JavaScript-style line and block comments.
- Wrapper cleanup. Strips Markdown code fences, JSONP callbacks, MongoDB wrappers, and ellipsis placeholders.
- Literal conversion. Converts Python-style None, True, and False into JSON literals.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 18 days ago
- Stars
- 127
- +1 this week
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v0.4.10
- Released 18 days ago
- Built with
- Go
- 100% of the code
Is it looked after?
- Contributors
- Not stated
- Last 90 days
- Issues
- 100% closed
- 0 still open
- Pull requests
- 6 merged
- 0 waiting
- Releases
- 7
- 7 in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| RealAlexandreAI / json-repair | 385 | 3 days ago | GPL-3.0 | Mac, Windows, Linux |
| mangiucugna / json_repair | 5,137 | today | MIT | No downloads |
| HAibiiin / json-repair | 108 | 9 months ago | Apache-2.0 | No downloads |
More: languages, topics and project record
Languages
- Go 100%
Topics
- json
- json-fix
- json-repair
- json-validation
- llm
Project record
- JobOther AI tools
- StatusListed
- Commits98
- Forks16
- Watching2
- Stars in 28 days+1
- CreatedJun 16, 2024
- First seen by usNov 7, 2026
- CheckedNov 8, 2026
