Deserialization of array with DataContractJsonSerializer with Windows Store App
问题 Is it possible to deserialize a json array with native DataContractJsonSerializer in a Windows Store App? Example, from: [{"groups":[{"name":"tom","vip":false},{"name":"sam","vip":true}]},{"groups":[{"name":"pam","vip":false},{"name":"mom","vip":true}]}] To, anything roughly in the line of: public class Group { public string name { get; set; } public bool vip { get; set; } } [DataContract] public class RootObject { [DataMember] public List<Group> groups { get; set; } } So far, my attempts