Re: XML to JSON conversion

2010-09-21 Thread ganges_k
Thank you for the reply. I am sorry to bother you. I have searched in the camel users group and found the solution. -- View this message in context: http://camel.465427.n5.nabble.com/XML-to-JSON-conversion-tp2837615p2849256.html Sent from the Camel Development mailing list archive at Nabble.co

Re: XML to JSON conversion

2010-09-15 Thread Claus Ibsen
On Thu, Sep 16, 2010 at 6:31 AM, ganges_k wrote: > > Thank you for the reply. > > I am trying to unmarshalling the xml format to java object but i am getting > the following error. > > Caused by: javax.xml.bind.JAXBException: "com.example.SNMPPojo.class" doesnt > contain ObjectFactory.class or jax

Re: XML to JSON conversion

2010-09-15 Thread ganges_k
Thank you for the reply. I am trying to unmarshalling the xml format to java object but i am getting the following error. Caused by: javax.xml.bind.JAXBException: "com.example.SNMPPojo.class" doesnt contain ObjectFactory.class or jaxb.index can you please let me know how to resolve this? -- Vi

Re: XML to JSON conversion

2010-09-14 Thread Willem Jiang
On 9/14/10 3:49 PM, ganges_k wrote: Thanks for the reply. If i convert xml -> java object -> json (format), will there be any performance impact? I am looking for a direct conversion in Camel. does Camel provide this kind of feature? No, current camel provides this kind of feature out of b

Re: XML to JSON conversion

2010-09-14 Thread ganges_k
Thanks for the reply. If i convert xml -> java object -> json (format), will there be any performance impact? I am looking for a direct conversion in Camel. does Camel provide this kind of feature? -- View this message in context: http://camel.465427.n5.nabble.com/XML-to-JSON-conversion-tp283

Re: XML to JSON conversion

2010-09-13 Thread Willem Jiang
On 9/13/10 8:22 PM, ganges_k wrote: Hi, I am using Camel-SNMP in one of our requirement. Camel-SNMP process the OID's and provide XML as the output. I want to convert this to JSON format. is there a way to convert the output XML to JSON format? You can convert the XML to Java Object then turn