110,536
社区成员
发帖
与我相关
我的任务
分享
{
"city": "珠海",
"stations": [
{
"station_name": "吉大",
"station_code": "1367A"
},
{
"station_name": "前山",
"station_code": "1368A"
},
{
"station_name": "唐家",
"station_code": "1369A"
},
{
"station_name": "斗门",
"station_code": "1370A"
}
]
}
方法是:
[OperationContract]
[WebInvoke(ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped] string getJson();
返回字符串格式: station_name: 唐家,
station_code: 1369A