A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
CXF: JSON and XML response based on Content-Type
How to access the JSON reponse from a java client
Uncaught SyntaxError: Unexpected token < when calling java SOAP webservice
How to pass JSON Object to another window using window.open
Head Rush Ajax and JSON
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015