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

Bug in JSONArray? #420

Closed
subramanian0 opened this issue May 17, 2018 · 4 comments
Closed

Bug in JSONArray? #420

subramanian0 opened this issue May 17, 2018 · 4 comments

Comments

@subramanian0
Copy link

subramanian0 commented May 17, 2018

             String xmlRawString = "[{},";
            JSONArray object = new JSONArray(xmlRawString);

Constructing JSONArray with Malformed Strings (The ones without ']') seem to stuck in an infinite loop and throw OutOfMemory Exception.

@johnjaylward
Copy link
Contributor

Are you using the latest version?

@subramanian0
Copy link
Author

It seems I am in a old version. Works fine in the current version. Can you point me towards the bugfix commit of this issue?

@johnjaylward
Copy link
Contributor

#373

@subramanian0
Copy link
Author

Thanks!

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