Hello,

I am  building a camel route and I am looking to manipulate an inputStream
formatted as JSON into a different "hierarchy". 

The endgame is to turn the service's response

{"foo":
     {"bar":{"type": "motor","status":"spinning"}},
     {"baz":{"type": "calculator","status":"crunching"}}
}
into a series of JSON strings with name and properties a la:
{"foo":
{"name":"bar", properties:{"type": "motor","status":"spinning"}}
{"name":"baz", properties:{"type": "calculator","status":"crunching"}}
}

What's the best way to approach this?



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

Reply via email to