Releases: RealAlexandreAI/json-repair
Releases · RealAlexandreAI/json-repair
v0.0.10
Changelog
- 9602027: Create dependabot.yml (@RealAlexandreAI)
- 3cc8f74: Merge pull request #14 from leehaoze/main (@RealAlexandreAI)
- f1ee973: Update jsonrepair.go, jsonrepair_test.go ( <>)
v0.0.9
Changelog
- ac0baed: Add pre-commit-hook (@RealAlexandreAI)
- d67efee: Edit pre-commit (@RealAlexandreAI)
- 9f28d7f: Update CHANGELOG.md (@RealAlexandreAI)
- a21a61c: Update ci.yaml (@RealAlexandreAI)
- c8c71bc: Update go.mod (@RealAlexandreAI)
- ad2abbb: Update golangci-lint.yml (@RealAlexandreAI)
- cda955f: Update jsonrepair-cli.go (@RealAlexandreAI)
- 980ce29: Update jsonrepair.go (@RealAlexandreAI)
- 8ae33a8: Update jsonrepair.go (@RealAlexandreAI)
- 300abdb: Update jsonrepair.go (@RealAlexandreAI)
- 85e4b20: Update jsonrepair_test.go (@RealAlexandreAI)
- 3eba2d9: Update lint (@RealAlexandreAI)
v0.0.8
Changelog
- ac0baed: Add pre-commit-hook (@RealAlexandreAI)
- d67efee: Edit pre-commit (@RealAlexandreAI)
- 9f28d7f: Update CHANGELOG.md (@RealAlexandreAI)
- a21a61c: Update ci.yaml (@RealAlexandreAI)
- c8c71bc: Update go.mod (@RealAlexandreAI)
- ad2abbb: Update golangci-lint.yml (@RealAlexandreAI)
- cda955f: Update jsonrepair-cli.go (@RealAlexandreAI)
- 980ce29: Update jsonrepair.go (@RealAlexandreAI)
- 8ae33a8: Update jsonrepair.go (@RealAlexandreAI)
- 300abdb: Update jsonrepair.go (@RealAlexandreAI)
- 85e4b20: Update jsonrepair_test.go (@RealAlexandreAI)
- 3eba2d9: Update lint (@RealAlexandreAI)
v0.0.7
Changelog
- defa891: Add golagnci lint (@RealAlexandreAI)
- d48d8fd: Fix lint suggettion (@RealAlexandreAI)
- 9149b21: Release 0.0.7 (@RealAlexandreAI)
v0.0.6
Changelog
- 2ca7b07: Remove version requirement (@RealAlexandreAI)
- e34ac0d: Split MustXXX (@RealAlexandreAI)
- 0d3bd4b: Use bytes.IndexByte instead of Contains (@RealAlexandreAI)
- e244929: fix upstream #29 (@RealAlexandreAI)
v0.0.5
Changelog
- 4f25292: Add CI to GitHub actions (@ccoVeille)
- 4910ec3: Fix comments (@ccoVeille)
- 1856598: Fix typos (@ccoVeille)
- ada5cd1: Merge pull request #10 from ccoVeille/proof-of-concept-minimal-version (@RealAlexandreAI)
- 85b3874: Merge pull request #11 from ccoVeille/improve-go-minimal-version (@RealAlexandreAI)
- c3d3c7e: Merge pull request #3 from ccoVeille/typos (@RealAlexandreAI)
- 803f93e: Merge pull request #4 from ccoVeille/code-review (@RealAlexandreAI)
- a32f4d0: Merge pull request #8 from ccoVeille/go-minimal-version (@RealAlexandreAI)
- dd76eab: Reduce cyclomatic complexity and increase readability (@ccoVeille)
- a0851fe: Remove local dev snippets (@RealAlexandreAI)
- 179d292: Remove releaser on PR (@RealAlexandreAI)
- 3d60619: This is a proof of concept (@ccoVeille)
- 2a55e2b: Trigger action (@RealAlexandreAI)
- 752ec14: Use Go 1.18 as minimal version (@ccoVeille)
- 4e207d4: Use deprecated ioutil.ReadFile to improve code compatibility (@ccoVeille)
- 7a7e3ab: enhance README (@RealAlexandreAI)
- a8357e7: release 0.0.5 (@RealAlexandreAI)
v0.0.3
Changelog
- 3103ada: add homebrew (@RealAlexandreAI)
- 030d474: add logo (@RealAlexandreAI)
- d295555: fix README (@RealAlexandreAI)
- bafff7e: fix typo (@RealAlexandreAI)
- 700ca8f: fix upstream bug (@RealAlexandreAI)
- c7e16e1: init cli (@RealAlexandreAI)
- a4b66fa: sync upstream #26 (@RealAlexandreAI)
- e233f62: test goreleaser (@RealAlexandreAI)
v0.0.2
Launch json-repair.
🎯 Why Choose JSON Repair?
- 🏎️ GO Compatibility: Our library ensures a seamless experience for Go developers with its excellent compatibility.
- 🔗 Zero Dependencies: We've crafted a tool with zero external dependencies, keeping it lean and mean.
- 📚 Rich Test Cases: Benefit from a comprehensive suite of test cases that ensure reliability and accuracy.
- 🤖 Auto-Detection & Repair: Intelligently identifies and corrects a wide range of JSON errors, from syntax to structural issues.
- 📐 Customizable: Offers the flexibility to tailor the repair process to your project's specific needs.
- ⚙️ No Anxiety About Error: json-repair always gives the string result.
- 🌐 Open Source: Join a vibrant community of developers contributing to the ongoing evolution of the toolkit.
🔍 Supported Broken LLM JSON Output
- Single quote
"
- Line feed
\n
- Improperly formatted JSON string
{"key": TRUE, "key2": FALSE, "key3": Null
- String with mixed quotes
{'key': 'string', 'key2': false, \"key3\": null, \"key4\": unquoted}
- Unclosed array
[1, 2, 3, 4
- Unclosed array object
{"employees":["John", "Anna",
- Standalone left bracket
[
- Standalone right bracket
]
- Array with extra line breaks
[[1\n\n]
- Incorrect key-value pair
{foo: [}
- Correct JSON string
{"text": "The quick brown fox won\'t jump"}
- Incorrect key-value pair
{"value_1": "value_2": "data"}
- JSON string with comment
{"value_1": true, COMMENT "value_2": "data"}
- JSON string with leading spaces
- { "test_key": ["test_value", "test_value2"] }
- String containing a link
{ "content": "[LINK]("https://google.com")" }
- Unclosed link string
{ "content": "[LINK](" }
- Unclosed link and extra key string
{ "content": "[LINK](", "key": true }
- Incorrect key-value pair
{"key":"",}
- etc.