Re: Manipulating JSON from inputStream

2015-04-30 Thread erd
Hi, Sorry for going AWOL for a while... anyways, I'm in the process of doing essentially what Mark suggested. I ended up splitting the large file, using Jackson and JAXB to unmarshal the entries into a TreeMap, translating the TreeMap into my own defined POJO, and marshaling back into JSON. Another

Re: Manipulating JSON from inputStream

2015-04-25 Thread Reji Mathews
Hello I had similar use case for one of my customers. It was a bulk dump of electricity consumption data of subscribers which was to be loaded into charging engine. The records ran to millions. I doubt if there is something out of box for json to json transformation. I did following 1) Source Js

Re: Manipulating JSON from inputStream

2015-04-23 Thread Mark Frazier
Use the Message Translator EIP http://camel.apache.org/message-translator.html Inside that,you can use GSON and do one of two: 1) use the GSON api to directly manipulate JsonObject instances after you unmarshall 2) unmarshall into an object m