Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop with open array and closed parent element #9

Closed
mlxyz opened this issue Dec 5, 2023 · 1 comment
Closed

Infinite loop with open array and closed parent element #9

mlxyz opened this issue Dec 5, 2023 · 1 comment
Assignees

Comments

@mlxyz
Copy link
Contributor

mlxyz commented Dec 5, 2023

Describe the bug
The library runs into an infinite loop when calling repair_json('{foo: [}').

To Reproduce
Steps to reproduce the behavior:

  1. 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.

@mangiucugna
Copy link
Owner

Thank you for reporting, I am releasing 0.4.4 right now with the fix.

@mangiucugna mangiucugna self-assigned this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants