风暴烈酒辰

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年6月28日

摘要: public string ObjectToJson(string jsonName, IList IL) { StringBuilder Json = new StringBuilder(); Json.Append("{\"" + jsonName + "\":["); if (IL.Count > 0) { for (int i = 0; i (); Type type = obj.GetType(); PropertyInfo[] pi... 阅读全文
posted @ 2013-06-28 09:42 风暴烈酒辰 阅读(191) 评论(0) 推荐(0) 编辑