string jsonOutput = "{\"status\":0,\"msg\":\"missing parameter\"}";
JavaScriptSerializer serializer = new JavaScriptSerializer();
Dictionary<string, object> json = (Dictionary<string, object>)serializer.DeserializeObject(jsonOutput);
object value;
if (json.TryGetValue("msg", out value))
Response.Write(value);
System.Text.StringBuilder sbString = new System.Text.StringBuilder();
sbString.Append("{");
for (int i = 0; i < set.Tables[0].Rows.Count; i++)
{
sbString.AppendFormat("\"时间\":\"{0}\",",set.Tables[0].Rows[i]["CreateTime"]);
sbString.AppendFormat("\"IP\":\"{0}\",",set.Tables[0].Rows[i]["IPAddress"]);
}
sbString.Append("}");