Because its unecessary information, a list of organicas should be designed
as:
{
Organicas: [{...},{...}]
}
right?And that's exactly how jaxb designs it, if i return a list of
organicas it still used the xmlrootelement name of the object type, not the
List type....the result using the either the list wrapper or the map one is
the same:
{
"ListWrapperWithMap" : {
"Organicas" : [ {...},{...}]
}
}
--
View this message in context: http://jersey.576304.n2.nabble.com/how-to-rename-XmlRootElement-in-JSON-tp6173292p6419486.html
Sent from the Jersey mailing list archive at Nabble.com.