mangiucugna/json_repair
A python module to repair invalid JSON, commonly used to parse the output of LLMs
PythonMIT
Issues
- 0
[Feature Request]: Support parsing LLM output containing <triple backticks>json{"field": value}<triple backticks>
#84 opened by rohitgarud - 0
[Bug]: bad str endswith ]}
#83 opened by 609371275 - 1
[Bug]: TypeError: repair_json() got an unexpected keyword argument 'ensure_ascii'
#82 opened by wclin99 - 0
[Bug]: repair_json
#81 opened by hongbofan - 1
- 1
- 6
[Bug]: unquoted value strings with brackets lose first closing bracket and any text after it
#76 opened by slidedrum - 1
- 0
[Bug]: Content after quotes is ignored if quotes near curly braces are missing
#75 opened by tfshaman - 1
[Bug]: Handling LaTeX inside a string
#74 opened by sreeramcoder - 1
[Bug]: Quotes are not added after the last value in a JSON when the value has a Comma
#73 opened by strentom - 3
[Bug]: issue with parsing rust code in JSON
#72 opened by pchalasani - 0
[Bug]: Some strings cannot be parsed correctly.
#70 opened by liuziw - 1
[Feature Request]: CLI?
#68 opened by vergenzt - 1
[Feature Request]: Publish to PyPI?
#69 opened by vergenzt - 4
- 1
[Feature Request]: Add support for `mypy`
#64 opened by JakeSummers - 0
- 1
- 1
- 1
[Bug]: Failed repair on some quote cases
#56 opened by Robin-Dong - 0
- 1
[Bug]: Does not add missing comma in an array of strings but works fine with array of numbers
#55 opened by SumitRathor002 - 0
[Bug]: Maximum recursion depth reached when parsing very long incompatible strings (2972 chars)
#54 opened by eleanorRumsey - 4
[Bug]: Fails to accurately capture value with missing opening quote if a comma comes before closing quote
#53 opened by ahhardin - 2
- 6
[Bug]: poor repair from json to just integer
#50 opened by pseudotensor - 8
- 2
[Bug]: Strings containing unescaped quotes followed by commas are incorrectly truncated
#46 opened by bwest2397 - 2
[Bug]:
#48 opened by lansespirit - 2
- 3
Parsing comments with float point number
#45 opened by liangjs - 3
- 10
Not extracting specific JSON examples
#34 opened by ArslanKAS - 2
Price like numbers not properly parsed
#42 opened by GeraldWu23 - 1
- 0
Function "repair_json" raises an AttributeError exception when called with a certain input
#39 opened by werpachowski-msft - 2
getting '_io.TextIOWrapper' object has no attribute 'strip'. Not sure if i'm using it wrong or python version conflict
#38 opened by Jaron123 - 0
TypeError on malformed string
#37 opened by liangjs - 1
Handle missing comma
#36 opened by liangjs - 3
Not working for basic example
#33 opened by dcollien - 2
Issue with parsing when there is leading text
#35 opened by lujasmine - 1
- 1
exchange of a friendly link request
#25 opened by RealAlexandreAI - 0
- 1
- 1
- 2
File input flag
#21 opened by ajmeese7 - 7
Adding missing escape for double quote
#26 opened by nikolaysm - 0