摘要: C#中使用JSON不需要使用第三方库,使用.NET Framwork3.5自带的System.Runtime.Serialization.Json即可很好的完成JSON的解析。关于JSON的入门介绍见(首页的图很形象):http://www.json.org/一、Using需要添加引用:System.ServiceModel.Web 和 System.Runtime.Serialization,然后使用Using:using System.Runtime.Serialization.Json;using System.Runtime.Serialization;二、定义序列化的类假如我们要转化 阅读全文
posted @ 2013-09-09 17:02 PowerZhang 阅读(1610) 评论(5) 推荐(0) 编辑