-
-
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
Add enum features into @JsonFormat.Feature
#3637
Comments
Thank you @Anatoly4444 -- yes, this is slightly better place since support must be added here too; and adding entries in |
Adding labels to indicate that help would be welcome here, and that I think this is relatively straight-forward to implement. |
@JsonFormat.Feature
Merged, to be included in 2.15.0. Thank you for the contribution @Siwach16! |
Hello, i am upgrading my work project to jackson version 2.15.0 to fix vulnerabilities, and have received below error. org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchFieldError: READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE |
@hrishikeshakolkar please provide error report/reproduction with Jackson content "without" springframework 👍🏻. Or can you try to file a report at |
@hrishikeshakolkar You seem to have version incompatibility between what framework expects (was compiled against) and what is deployed: specifically you likely have |
Sure will check.. thanks people. |
com.fasterxml.jackson.annotation
I have several enum objects which jackson deserialize and requests failed after third company API updated possible values in this object. And also i don't want to add this Feature for whole project cause this feature could broke logic for another requests.
Jackson has com.fasterxml.jackson.annotation.JsonFormat.Feature which could be added on certain class but for now that does not support READ_UNKNOWN_ENUM_VALUES_AS_NULL and READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE. Please add
@cowtowncoder said i should create issue here, not in jackson-annotations
The text was updated successfully, but these errors were encountered: