Deserialization of @JsonTypeInfo
annotated type fails with missing type id even for explicit concrete subtypes (3.0-only)
#3824
Labels
3.x
Issues to be only tackled for Jackson 3.x, not 2.x
With fix for #2968, Jackson 2.15 and later 2.x will allow deserialization of certain polymorphic types even if the type id is missing -- as long as target type itself would not be considered polymorphic (is above base type, has no
@JsonTypeInfo
/ would not enable Default Typing).Unfortunately, due to major refactoring of polymorphic type handling, the fix could not be directly ported in
main
for Jackson 3.0.So a different fix is needed here.
The text was updated successfully, but these errors were encountered: