You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cowtowncoder
changed the title
Deserialization sub empty class with DEDUCTION failed
Deserialization of "empty" subtype with DEDUCTIONfailed
May 3, 2021
cowtowncoder
changed the title
Deserialization of "empty" subtype with DEDUCTIONfailed
Deserialization of "empty" subtype with DEDUCTION failed
May 3, 2021
Describe the bug
Using
@JsonTypeInfo(use = DEDUCTION)
to deserialize a subclass with no properties/fields causing exception.Sometimes an empty class will be used to identifying different business types:
Version information
2.12.3
To Reproduce
Expected behavior
Deserializing to
Empty
class in the example above.The text was updated successfully, but these errors were encountered: