[英]DataContractJsonSerializer on Windows Phone 7
I'm trying to serialize an object into JSON in Silverlight on Windows Phone 7. My problem is, and this sounds stupid: I can't find it. 我试图在Windows Phone 7上的Silverlight中将一个对象序列化为JSON。我的问题是,这听起来很愚蠢:我找不到它。 According to MSDN , it should work and be available on WP7.
根据MSDN ,它应该工作并在WP7上可用。
Can somebody help me? 有人能帮助我吗? This is stopping me at this point.
这就阻止了我。 I haven't been able to get beyond this :(
我没能超越这个:(
您的项目是否引用了dll“System.ServiceModel.Web”?
You can try sharp serializer. 你可以试试锐利的序列化器。 It's fast and works great on windows phone.
它很快,在Windows手机上运行良好。 There is a tutorial over at http://www.eugenedotnet.com/2010/12/windows-phone-7-serialization-sharpserializer/
在http://www.eugenedotnet.com/2010/12/windows-phone-7-serialization-sharpserializer/上有一个教程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.