Monday, October 15, 2012

JAXB: How to unmarshall objects in lists?

On the records property add:
@XmlElementWrapper(name="records")
@XmlElement(name="data")
For more information on JAXB and collection properties see:
http://stackoverflow.com/questions/3683598/jaxb-how-to-unmarshall-objects-in-lists

No comments:

Post a Comment