using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XHZB.Desktop.Utils { internal class ZCache { public static Dictionary headDic = new Dictionary(); internal static List JsonToList(string respstr) { JsonSerializer serializer = new JsonSerializer(); StringReader sr = new StringReader(respstr); object o = serializer.Deserialize(new JsonTextReader(sr), typeof(List)); List list = o as List; return list; } } }