-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
JSONObject stack overflow #837
Labels
Comments
Repository owner
deleted a comment from
Feiys
Dec 9, 2023
stack overflow error is also caused by:
|
Yeah... don't do that. The JavaDoc specifically states that that will happen and not to use cyclical references. |
@micbedn Thanks for posting. Are you sure you are testing with the latest code, though? I am only seeing JSONExceptions:
Output: JSONArray has reached recursion depth limit of 512 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a list has itself as an element JSONObject(list) causes stack overflow error as seen in following code:
The text was updated successfully, but these errors were encountered: