string jsonArrayText1 = "[{'a':'a1','b':'','time':''}]";
JavaScriptSerializer ser = new JavaScriptSerializer(); List<user> list = ser.Deserialize<List<user>>(jsonArrayText1);
user类序列化
[Serializable]
public class user{ public user() { } [XmlElement("a")] public string a { get; set; } [XmlElement("b")] public string b { get; set; } [XmlElement("time")]public DateTime time { get; set; }
}