C# JSON字符串序列化与反序列化

JSON与c#对象转换
http://hi.baidu.com/donick/item/4d741338870c91fe97f88d33

C# JSON字符串序列化与反序列化 –
http://www.itbobo.com/cjson-string-serialization-and-deserialization.html

Json.NET - Documentation - Table of Content
http://james.newtonking.com/projects/json/help/index.html?topic=html/Samples.htm#

 

注意:导入微软的JavaScriptSerializer解析类库如下:
using System.Web.Script.Serialization

 

相关的dll如下,需要手动添加引用:
System.Web.Extensions.dll

 

该dll所在的路径:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Web.Extensions.dll

 

 // v4.5 -- 依据自己的.net framework使用版本选取

posted @ 2013-09-12 14:21  petercao  阅读(724)  评论(0编辑  收藏  举报