-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
@JsonView
doesn't work with @JsonCreator
#1172
Comments
If someone also experiencing the same issue here's the temporary fix. You can put the
|
Note: suspecting this is due to issues with combining annotations between "regular" and |
#4173 proves this has been fixed, after idk, like 4 versions 🤔 |
@JooHyukKim better late verification than never :) |
@JsonView
doesn't work with @JsonCreator
Consider the following example:
(1) Obj definition without @JsonCreator
(2) Obj definition with @JsonCreator
The problem:
Example works with first (1) variant of Obj definition. And outputs:
but fails to ignore field
c
with Obj defined with JsonCreator (2):The text was updated successfully, but these errors were encountered: