Re: [jackson-user] Is there any way to let jackson to dyanmically write sub type name during serialization?

2018-09-25 Thread Tatu Saloranta
On Mon, Sep 24, 2018 at 12:06 PM Wayne Tech wrote: > > Hi, > > I was trying to find a solution to let jackson to serialize without an extra > super type element. > > I have a class that has an instance of a super type > > A.java > { > SuperType superType; > // other object definitions >

[jackson-user] Is there any way to let jackson to dyanmically write sub type name during serialization?

2018-09-24 Thread Wayne Tech
Hi, I was trying to find a solution to let jackson to serialize without an extra super type element. I have a class that has an instance of a super type A.java { SuperType superType; // other object definitions ... } I also define a list of sub types extending the SuperType like;