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

Catnap ignores the JsonIgnoreProperties annotation and StackOverflowError occurs #24

Open
ogok opened this issue Dec 13, 2019 · 0 comments
Labels

Comments

@ogok
Copy link

ogok commented Dec 13, 2019

class Person {
@JsonIgnoreProperties("friends")
private List friends;
}

I have a class just like above. Jackson ignores the friends of the friends when the catnap is disabled. But if I enable the catnap, catnap ignores the annotation and is trying to render the friends of friends. StackOverflowError occurs because of infinite loop.

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

2 participants