camel-jackson can be used for pojo <-> json using the jackson library. And it support a map/list mode.
On Tue, Oct 27, 2015 at 1:54 PM, Niraj <niraj.kum...@tcs.com> wrote: > Hi, > can we convert a single json object to jsonArray with use of SpringDSL . > just for example, i have a jsonObject like. > <team> > <employee> > <name>Joe</name> > <surname>Bloggs</surname> > </employee> > </team> > and have to convert it into jsonArray like > {team:[employee:{name:'Joe',surname:'Bloggs'}]} or any suitable form of > array. > > any help would be much appreciated. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Not-able-to-convert-Single-xml-object-into-jsonArray-thorugh-Camel-Spring-DSl-tp5773108.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition