mercredi 31 décembre 2014

saving object to IsolatedStorage in windows phone 8


Vote count:

0




I have a class structure with properties below:



public string Artiste { get; set; }
public string Featuring { get; set; }
public JObject RegionName { get; set; }
public JArray Seasons { get; set; }


the problem is that I want to save an instance of this class to an IsolatedStorage, I added the DataContract attribute to the class and DataMember attribute to each property but I got an error that "Newtonsoft.Json.Linq.JValue" cannot be serialized. How can I serialized and save a complex object like the above.



asked 2 mins ago

jade

184






saving object to IsolatedStorage in windows phone 8

Aucun commentaire:

Enregistrer un commentaire