jackson defaultImpl incase of class extending a child of another class not working

6 views
Skip to first unread message

Avinash Vundyala

unread,
Jul 1, 2019, 10:44:26 AM7/1/19
to jackson-user

My class Subtype structure looks like:

       A
      / \
     B   C
    /     \
   D       E

and using Jackson to deserialize JSON and when I mention defaultImpl to class A then I get:

Class A not subtype of [simple type, class B]

can you please point out how to get the defaultImpl to work in case of missing type id property

Reply all
Reply to author
Forward
0 new messages