You took question wrongly.

I am asking that property in JSON not in xmljson .

We have POJO object which we want to convert to JSON.  xmljson is for XML to
JSON not for Object to JSON.

Currently JSON return  [{"id":1,"name":"abc"}] 

But instead of [{"id":1,"name":"abc"}] , we need
{"*myData*":{"id":1,"name":"abc"}} 

/Sarfaraj



--
View this message in context: 
http://camel.465427.n5.nabble.com/Issue-in-JSON-marshalling-tp5731970p5732008.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to