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

Better handling of self-referencing Jsonables #18

Open
oakesville opened this issue Apr 28, 2018 · 0 comments
Open

Better handling of self-referencing Jsonables #18

oakesville opened this issue Apr 28, 2018 · 0 comments
Labels

Comments

@oakesville
Copy link
Collaborator

Observed this issue specifically when calling Jsonator.getJsonObject() with an object containing a field of type groovy.lang.MetaClassImpl, which can be self-referencing.

Currently this results in a StackOverflowError. A better way would be to keep track of the field hierarchy and use the == comparator to check for self-references.

@oakesville oakesville added the bug label Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant