摘要: 在<<利用反射,自动将对象生成json字符串【反射应用的一个小DEMO】>>一文中,我用到反射和扩展方法的技术来实现将对象序列化成json字符串的功能.后来我又对代码进行了些许重构,代码如下:View Code 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Text.RegularExpressions; 6 using System.Reflection; 7 8 namespace CodeCen 阅读全文
posted @ 2011-07-19 22:55 .Sure 阅读(191) 评论(0) 推荐(0) 编辑