Re: [jackson-user] Serialize Generic Collection Issues

2017-01-25 Thread Tatu Saloranta
Ok, assuming this is with a reasonably up-to-date version (2.8.6 or 2.7.8), at this point it would make sense to file a bug report, with simple reproduction at: https://github.com/FasterXML/jackson-databind/issues `type` property should be serialized given information you have given, as far as I

[jackson-user] Deserialize JSON with Jackson with complex Polymorphic structure

2017-01-25 Thread Rodion Surzhenko
I need help, here is the description of the task: 1. I have base interface *interface IPolymorphicModel* 2. I have few nested interfaces: *interface IContentItem extends IPolymorphicModel* *interface IAttachment extends IPolymorphicModel* 3. I have few implementations: *public class MediaAtta

Re: [jackson-user] Serialize Generic Collection Issues

2017-01-25 Thread Yosvany Llerena Rodríguez
HI I do change as you recommend but results are the same. Nothing changes, the property continues not appearing. @JsonTypeInfo(use = JsonTypeInfo.Id.NAME , include = JsonTypeInfo.As.PROPERTY, property = "type", visible = true) @JsonSubTypes({ @JsonSubTypes.Ty