Releases: mangiucugna/json_repair
Release 0.28.0
Added
- Fix #64, so far the library was fully typed but would throw a warning with mypy. Added support for it
Minor
- The library has now achieved 100% test coverage!
Release 0.27.2
Fixed
- Better handling of empty key values and remove lots of dead code, plus better test coverage
Release 0.27.1
Fixed
- Fix #62, an off by one error made it so that correct escaped sequences were not treated properly if they were at the beginning of the string.
Release 0.27.0
Release 0.26.0
Added
- Adding ensure_ascii to the options of
repair_json
. By defaultjson.dumps()
setsensure_ascii=True
this is particularly a problem for chinese text that has no ascii representation. Setting ensure_ascii=False will prevent chinese text from being converted into weird escaped characters in ascii and remain unicode.
Fixed
- As documented, the
load
function should behave likeloads()
. That wasn't the case so far.
Sponsors
This release is sponsored by @t0mmili and @nhend. Thank you very much for your donation!
This library is free for everyone and it's maintained and developed as a side project so, if you find this library useful for your work, consider offering me a beer via this link: https://github.com/sponsors/mangiucugna
Release 0.25.3
Fixed
- Fix #57, sometimes a string can look like
""string"
a bug was preventing the library from fixing it like"string"
.
Sponsors
This release is sponsored by @MorDvash. Thank you very much for your donation!
This library is free for everyone and it's maintained and developed as a side project so, if you find this library useful for your work, consider offering me a beer via this link: https://github.com/sponsors/mangiucugna
Release 0.25.2
Fixed
- Fix #55, a fix a regression bug. Array of strings not separated by commas were not repaired.
Release 0.25.1
Fixed
- Fix #54, fix the
maximum recursion depth reached
error in case the malformed json is a long long string.
Sponsors
This release is sponsored by @ahhardin. Thank you very much for your donation!
This library is free for everyone and it's maintained and developed as a side project so, if you find this library useful for your work, consider offering me a beer via this link: https://github.com/sponsors/mangiucugna
Release 0.25.0
Added
- As additionally reported in #53, there can be cases in which not only quotes are missing but also commas are missing. That is kind of a mess, but with some clever tricks we were able to untangle the mess
Release 0.24.0
Added
- Fix #53, change how missing left delimeters are handled in object context to take into account the possibility that the right side might not be missing.
Fixed
- Array of numbers were poorly handled but somehow I never noticed that the tests were wrong