62,046
社区成员
发帖
与我相关
我的任务
分享
string tmp = "{\"total\":2,\"count\":2,\"data\":{\"openid\":[\"oqrAFt2PcpjOuuvAEFnVtJYRaPSA\",\"oqrAFt4lznGAd2uvI5WIHhL-bKEM\"]},\"next_openid\":\"oqrAFt4lznGAd2uvI5WIHhL-bKEM\"}";
JavaScriptSerializer jss = new JavaScriptSerializer();
Dictionary<string, object> json = (Dictionary<string, object>)jss.DeserializeObject(tmp);
json = (Dictionary<string, object>)json["data"];
foreach (object s in (IEnumerable<object>)json["openid"])
{
Response.Write(s + "<br/>");
}