-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
FEATURE:@JsonOnlyProperties / @JsonIncludeProperties needed #133
Comments
I think this is already filed as: FasterXML/jackson-databind#1296 and the reason it sort of belongs more in |
OK.Thank you. |
Closing this in favor of the issue mentioned above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's say you have 1 entity with cascade need to be serialized, when you only need serialize part of cascaded entity, you should do it as following:
but what if the ignored properties is too many and I only need the id and name properties to be serialized?A
@JsonOnlyProperties
or@JsonIncludeProperties
is more convenient and very easy to use.Think this scenario is most needed.
The text was updated successfully, but these errors were encountered: