2012年11月22日

C#序列化JSON

摘要: 首先先添加.NET引用System.Runtime.Serialization.dllSystem.ServiceModel.Web.dll然后CS文件添加USing 引用usingSystem.ServiceModel.Web;usingSystem.Runtime.Serialization.Json;usingSystem.IO;usingSystem.Text;把JSON序列化成对象///<summary>///反序列化JSON///</summary>///<typeparamname="T">返回类型</typepara 阅读全文

posted @ 2012-11-22 14:36 梦想飞的鱼 阅读(223) 评论(0) 推荐(0) 编辑

导航