How is JSON to XML mapping is generally done in Camel ?
We have xmljson component, but it doesn't do some classic json use cases.
In my case I have incoming JSON payload which has all kind of possible
symbols supported by a String which includes white spaces as well.
I can use JACKSON to convert JSON to POJOs, then from POJOs I can convert to
XML straight away using XSTREAM. But again this xml is again going to be
tough to handle, because its all going to be maps and entries.
My incoming JSON looks like this:
{
"Format": "JSON",
"TestData": {
"Key with Spaces in it": {
"And Again": {
"ChildKey1": "Financial",
"ChildKey2": null
},
.........
.....
Any thoughts / suggestions ? I would love to hear some ideas which is
Camelish :)
Regards
Guru
@tallguru
--
View this message in context:
http://camel.465427.n5.nabble.com/JSON-to-XML-Mapping-Transformation-tp5767112.html
Sent from the Camel - Users mailing list archive at Nabble.com.