标签:
private static object JsonToObject(string jsonString, object obj) { var serializer = new DataContractJsonSerializer(obj.GetType()); var mStream = new MemoryStream(Encoding.UTF8.GetBytes(jsonString)); return serializer.ReadObject(mStream); }
标签:
原文地址:http://www.cnblogs.com/ytyang/p/4626303.html