Reputation: 133
I have Webservice in .net that responds me
For parsing this kind of rsponse i have referred Android Json Parsing Tutorial.
Any help will be appreciated.But still getting JSONException.
Thanks in advance.
Upvotes: 0
Views: 66
Reputation: 11
It Seems that your Json format is correct but It shouldn't have xml tag in it.Dont use WebMethod. Invoke the method with tag like this
[WebInvoke(Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json
)]
Upvotes: 1