Skip to content
The Daily Repo

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

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
RealAlexandreAI / json-repair3853 days agoGPL-3.0Mac, Windows, Linux
mangiucugna / json_repair5,137todayMITNo downloads
HAibiiin / json-repair1089 months agoApache-2.0No 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

Type to search.

Try