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

Support for excluding fields #34

Open
tungp99 opened this issue Apr 30, 2020 · 0 comments
Open

Support for excluding fields #34

tungp99 opened this issue Apr 30, 2020 · 0 comments

Comments

@tungp99
Copy link

tungp99 commented Apr 30, 2020

In my needs, the POJO has some property which link directly to another POJO. From .net background, I believe it's called lazy-loading prop. My workaround is available so you can consider this as suggestion.

class Person {
...
}

class Teacher {
@Id
private int personId
...
// this prop is null in json file, I would love to have it deleted
public Person person;
}
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

1 participant