-
-
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
Apply improved handling of Enum
to all part
#3990
Labels
to-evaluate
Issue that has been received but not yet evaluated
Comments
JooHyukKim
added
the
to-evaluate
Issue that has been received but not yet evaluated
label
Jun 17, 2023
JooHyukKim
changed the title
Improve handling of
Apply improved handling of Jun 17, 2023
Enum
with annotated class
.Enum
to all part
This was referenced Jun 17, 2023
This was referenced Jul 10, 2023
Merged
cowtowncoder
pushed a commit
that referenced
this issue
Jul 15, 2023
I think this issue has been resolved. Also Jackson 3.x branch seems cleaner now. Do you think there is anything else to do before closing, @cowtowncoder? |
It does sound like we are done -- there may still be some minor bugs, missing handling, but it sounds like known issues have been resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
Since #3832 introduced handling of
Enum
values asAnnotated
which allowed more dynamic handling ofEnum
types. But as of writing, such improvement is not retrofitted to all parts within our project.This issue will serve as parent issue to keep futre improvements in one place.
Work Status
Merged/Closed
Introspection/Annotations/mixins
Enum
introspection of values and aliases viaAnnotatedClass
instead ofClass<?>
#3832@JsonEnumDefaultValue
viaAnnotatedClass
#4025Deserialization (EnumResolver)
EnumResolver.constructUsingEnumNamingStrategy()
viaAnnotatedClass
instead ofClass<?>
#4032EnumResolver.constructUsingIndex()
viaAnnotatedClass
instead ofClass<?>
#4033EnumResolver.constructUsingMethod()
viaAnnotatedClass
instead ofClass<?>
#4034EnumResolver.constructUsingToString(DeserializationConfig, AnnotatedClass)
instead of(DeserializationConfig, Class<?>)
#4000Serialization (EnumValues)
@JsonProperty
and lowercase feature when serializing Enums despite write using toString() #4039@JsonProperty
overEnumNamingStrategy
for Enum serialization #4040Enum
serialization viaAnnotatedClass
#3991The text was updated successfully, but these errors were encountered: