摘要: 首先是一个json序列化与反序列化的的帮助类(不记得是看博客园哪个大神的了。。):public class JsonHelper { public static string JsonSerializer<T>(T t) { DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(T)); MemoryStream ms = new MemoryStream(); ser.WriteObject(m... 阅读全文
posted @ 2012-05-16 22:53 刘白菜 阅读(1086) 评论(11) 推荐(3) 编辑