Skip to content

Releases: mangiucugna/json_repair

Release 0.28.0

16 Aug 04:42
Compare
Choose a tag to compare

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

11 Aug 13:12
Compare
Choose a tag to compare

Fixed

  • Better handling of empty key values and remove lots of dead code, plus better test coverage

Release 0.27.1

11 Aug 05:27
Compare
Choose a tag to compare

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

08 Aug 16:50
359bb73
Compare
Choose a tag to compare

Added

  • PR #63, allow numbers to be object keys, transforming them to string first

Thanks to @andsmi97 for contributing with this PR!

Release 0.26.0

02 Aug 08:47
Compare
Choose a tag to compare

Added

  • Adding ensure_ascii to the options of repair_json. By default json.dumps() sets ensure_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 like loads(). 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

10 Jul 13:41
Compare
Choose a tag to compare

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

27 Jun 16:25
Compare
Choose a tag to compare

Fixed

  • Fix #55, a fix a regression bug. Array of strings not separated by commas were not repaired.

Release 0.25.1

20 Jun 20:12
Compare
Choose a tag to compare

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

19 Jun 03:57
Compare
Choose a tag to compare

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

18 Jun 19:25
Compare
Choose a tag to compare

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