适用于Android的Json

适用于Android的Json

本文介绍了适用于Android的Json WebService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建在Json中提供响应的Android WebService.
像这样的示例响应:

{"StatusInfo":{"Status":"FAILED","StatusDescription":发生错误","ErrorCode":","ErrorMessage":","Validation":null},"DataSet":[名称:" Will," SanName:" Simth],[" Name:" Jony," SanName:" Dep]}


给我示例代码,因为我是asp.net的新手.

How to create WebService For Android that give Response in Json.
Example Response like That:

{"StatusInfo":{"Status":"FAILED","StatusDescription":"Error Occurred","ErrorCode":"","ErrorMessage":"","Validation":null},"DataSet":["Name":"Will","SanName":"Simth"],["Name":"Jony","SanName":"Dep"]}


give me Example code for that , because i am new in asp.net.

推荐答案




这篇关于适用于Android的Json WebService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 06:01