您的位置:首页 > 移动开发 > Objective-C

Serialize an Object Using JSON

2011-09-28 15:45 471 查看
When we intend to serialize an object via JSON, we need to use DataContractJsonSerializer class , it is necessary to add two references below:

System.ServiceModel.Web

System.Runtime.Serialization.Json

If you want to add these two references, you need to change the Project’s property as the image below inlustrated





when vs2010 create a project, you use .NET Framework 4 Client Profile defaultly.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: