Releases: mangiucugna/json_repair
Releases · mangiucugna/json_repair
Release 0.15.4
Fixed
- Fix #32, an empty object value ("") would cause a crash under certain conditions.
Release 0.15.3
Fixed
- Fixed #29, numbers like .25 where not considered numbers. Thanks to @paulb-instacart for reporting and pushing the PR!
Release 0.15.2
Fixed
- Fixed #27, handle fractions such as 1/3 as string "1/3". Thanks to @paulb-instacart for reporting the issue and providing a PR to fix!
Release 0.15.1
Fixed
- Ensure that all functions passthrough optional parameters to repair_json()
Release 0.15.0
Added
- Adding a logging capability to understand what has been repaired. This was a feature request that was bubbling up in the issues, probably still incomplete but a good start if anyone is interested in understanding more about the errors found.
You can enable logging by passinglogging=True
torepair_json()
and it will return a tuple instead of just the corrected json
Release 0.14.0
Added
- Fixed #26 by adding a more general way to handle special cases with html tags and markdown in which the LLM uses the wrong quotation mark. Thanks to @nikolaysm not only for reporting but also for pointing me in the right direction to solve this problem more elegantly
Release 0.13.1
Fixed
- Fixed #24, fixed how the library handles the change of context when objects and arrays are mixed. Before this case would cause a crash.
Release 0.13.0
Added
- New function
load(fd)
that is a drop in replacement forjson.load()
- New function
from_file(string_file_path)
that makes it easier to write scripts to batch process json files
Release 0.12.3
Fixed
- Fix #23, if a dangling quotation mark followed a number or a boolean it would break the json string.
Release 0.12.2
Fixed
- Generalize the double quotation fix