FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

JSONObject stack overflow · Issue #837 · stleary/JSON-java · GitHub

JSONObject stack overflow #837

Description

If a list has itself as an element JSONObject(list) causes stack overflow error as seen in following code:

List<List<?>> list = new LinkedList<>();
list.add(list);
JSONObject j = new JSONObject(list);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL