1.反序列化实体类
//使用JObject读写字符串:
JObject j = JObject.Parse(data);
IEnumerable<JProperty> properties = j.Properties().ToArray();
//IEnumerable<JProperty> properties = JObject.Parse(data).Properties();
foreach (JProperty item in properties)
{
string key = item.Name;
string value = item.Value.ToString();
}
//List<Customer> _list = JsonConvert.DeserializeObject<List<Customer>>(jsonText);