不同FrameWork版本中datacontractjsonserializer 类的使用
时间:2014-09-16 14:10:50
收藏:0
阅读:231
json的序列化需要用到DataContractJsonSerializer类,在命名空间System.Runtime.Serialization.Json;下。
.NET Framework 3.5需要添加System.ServiceModel.Web引用;
.NET Framework 4需要添加System.Runtime.Serialization引用。
原文:http://www.cnblogs.com/hantao/p/3974736.html
评论(0)