简体   繁体   English

xp / Newtonsoft Json Object Seralization in wp7 Mango

[英]Xml / Newtonsoft Json Object Seralization in wp7 Mango

By using Newtonsoft json serializer and xml Serrializer how can i serialize and deserialize objects. 通过使用Newtonsoft json序列化器和xml Serrializer,我如何序列化和反序列化对象。 Pls send me the method to acheve the same. 请给我发送达到相同目的的方法。

Your question is not 100% clear, you might want to elaborate. 您的问题不是100%清楚,您可能需要详细说明。

You can deserialize an object to/from JSON using JsonConvert : 您可以使用JsonConvert在JSON中反序列化对象:

ObjectToDeserialize value = 
    JsonConvert.DeserializeObject<ObjectToDeserialize>(jsonString);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM