XML serialization on list of polymorphic values does not combine property, type id
I'm having problems on list serialization, i'm having too much wrapper. how to avoid the wrapper around abstract object ? here is my case : http://stackoverflow.com/questions/37663404/jackson-xml-problems-on-serializing
The generated json format is good.
I think I know the problem: type id element should be "folded" into element that represents the object, in case of inclusion of WRAPPER_OBJECT. To be able to do this I think some work is needed for mapper/generator interaction, so that XML-backed generator can handle folding for the special case of type id.
I hope to look into solving this for Jackson 2.9; I realize this will not help on short term (and you are using JAXB), but this is good to resolve for future.
very good,i getted! thanks!