摘要: C#中json数据的处理,把模型中的数据序列化为json首先在项目中引用Newtonsoft.Json.dll其下载地址和性能比较以及详情请查看:http://json.codeplex.com/示例代码:先建两个模型,以用在demo中 1 public class xModle 2 { 3 public int xID { get; set; } 4 public string xName { get; set; } 5 } 6 7 public class xJsonModel... 阅读全文
posted @ 2012-10-27 17:28 yuejin 阅读(9327) 评论(0) 推荐(0) 编辑