I want to convert an xml to json.
The format of of xml is as follows -
While working on a group project I ran into the same issue you have described. The solution we used to get this to work was to change our Maven dependency from Jackson to json-lib. We used this site as a guide: http://answers.oreilly.com/topic/278-how-to-convert-xml-to-json-in-java/
net.sf.json-lib
json-lib
2.4
jar
jdk15
compile
--$pli7