Hi, I tried to use the JSONML class's toString() method passing the JSON object to it, to get the xml string from the the method but it is throwing some exception "org.json.JSONException: Empty string." what is heppening i dont know...somehow this should return me the xml text...please have a look at my code in the previous posts and I hav only used the JSONML instead of XML class in the code..plz suggest any helping ideas..
thanks a lot for the valuable infos. regards, sanjay On Sep 17, 3:57 pm, "jgeerdes [AJAX APIs \"Guru\"]" <[EMAIL PROTECTED]> wrote: > Sanjay- > > For everyone else out there who is a Java coder and might have more > insight than I, here is a link to Sanjay's code on paste-it.net: > > http://www.paste-it.net/public/hd09ced/ > > That said, I think that the best way to do what you're wanting to do > is to switch from using XML.toString to using the JSONML class. You > can find information about it here: > > http://www.json.org/javadoc/org/json/JSONML.html > > Specifically, you'll want to check out the toString functions toward > the bottom of the page. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project quote:http://jgeerdes.home.mchsi.com > [EMAIL PROTECTED] > > If you're in the Des Moines, IA, area, check out Debra Heights > Wesleyan Church! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
