摘要: c#中JSON与Class的转换,包括序列化的库 1 public class SerializableUtility 2 { 3 public static MemoryStream Serialize(object _obj) 4 { 5 BinaryFormatter formater = new BinaryFormatter(); 6 MemoryStream ms = new MemoryStream(); 7 formater.Serialize(ms, _ob... 阅读全文
posted @ 2013-01-27 16:28 jdxx 阅读(1022) 评论(0) 推荐(0) 编辑