I decided to model the domain object described by the schema and using Jaxb
annotations it worked fine to marshal it to Json the way I wanted.

Still I am curious about how to easily convert a simple xml file to json so
that one xml element or attribute gets a one to one relationship with json.
Right usage of type converters?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Simple-convert-XML-to-JSON-tp4265729p4266826.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to