Android 解析服务器端响应
我在.net中有Webservice 对于解析这种rsponse,我已经提到了。Android 解析服务器端响应,android,json,Android,Json,我在.net中有Webservice 对于解析这种rsponse,我已经提到了。任何帮助都将不胜感激。但是仍然会得到JSONException。 提前感谢。您的Json格式似乎是正确的,但里面不应该有xml标记。不要使用WebMethod。像这样调用带有标记的方法 [WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Jso
任何帮助都将不胜感激。但是仍然会得到JSONException。
提前感谢。您的Json格式似乎是正确的,但里面不应该有xml标记。不要使用WebMethod。像这样调用带有标记的方法
[WebInvoke(Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json
)]