Infinite loop with open array and closed parent element
mlxyz opened this issue · comments
mlxyz commented
Describe the bug
The library runs into an infinite loop when calling repair_json('{foo: [}')
.
To Reproduce
Steps to reproduce the behavior:
- Call
repair_json('{foo: [}')
Expected behavior
Output of fixed json: {foo: []}
Unfortunately, I don't have the time to create a PR so I just report the bug here.
Stefano Baccianella commented
Thank you for reporting, I am releasing 0.4.4 right now with the fix.