对象序列化成Json字符串 及 反序列化成对象
摘要:
一、 public static string JsonSerializer<T>(T t) { DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(T)); MemoryStream ms = new Mem 阅读全文
posted @ 2013-09-05 16:44 AllonBlog 阅读(1842) 评论(0) 推荐(0) 编辑