Hi
I am trying to serialize and de-serialize (with Json and ObjectMapper) an polymorphic list of Objects that have the following annotation on the base class:
@JsonTypeInfo(use=JsonTypeInfo.Id.CLASS, include=JsonTypeInfo.As.PROPERTY, property="@class")
When I write the object itself it does include the polymorphic property class in to its properties list, and when I write a list of these objects it does not include any information on the classes in this list.
Does someone know what is wrong or what to configure ?