A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
REST returnin XML insted of JSON
Joined: Jan 24, 2011
Jun 10, 2012 23:24:55
I am using Moodle Web Services . I am using Moodle 2.3. I am getting response as XML but i want to get response in JSON.
How can i mention it on HttpUrlConnection Object for the Web service to return JSON instead of XML ??
Thanks and Regards
I agree. Here's the link:
subject: REST returnin XML insted of JSON
How to access the JSON reponse from a java client
Uncaught SyntaxError: Unexpected token < when calling java SOAP webservice
Head Rush Ajax and JSON
CXF: JSON and XML response based on Content-Type
How to pass JSON Object to another window using window.open
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014