Jackson Polymorphic Deserialization via field
问题 let's say, i have a class public class A{ private UUID typeId; private B data; } public abstract class B{ private String a; } public class BChildOne extends B{ ... some variables } public class BChildTwo extends B{ ... some variables } type of class B is changing, according to A's typeId , so if typeId of A is "XXX", type of data field is BChildOne, and if typeId of A is "YYY", type of data field is BChildTwo. how can i achive that? so for i tried that; @JsonAutoDetect(fieldVisibility =