Jackson common annotations for XML and JSON



We would like to use Jackson libraries to convert POJO to/from XML and JSON content. Is it possible to annotate the classes with one type of annotations and let Jackson handle marshalling and unmarshalling. Or is it necessary to provide JSON specific and XML specific annotations for the same class.


No comments:

Post a Comment