摘要: 从这里下载:http://www.newtonsoft.com/products/json/安装: 1.解压下载文件,得到Newtonsoft.Json.dll 2.在项目中添加引用..序列化和反序列在.net项目中:Product product = new Product(); product.Name = "Apple";product.Expiry = new DateTime(2008,... 阅读全文
posted @ 2009-11-09 16:35 awp110 阅读(641) 评论(0) 推荐(0)
摘要: JSON定义JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式,易于阅读和编写,同时也易于机器解析和生成。JSON的结构基于下面两点1. "名称/值"对的集合 不同语言中,它被理解为对象(object),记录(record),结构(struct),字典(dictionary),哈希表(hash table),键列表(keyed list)等2. 值的有序列... 阅读全文
posted @ 2009-11-09 16:25 awp110 阅读(214) 评论(0) 推荐(0)