How to deserialize json data in windows phone?
问题 Initially my json was in the format, "code": 0, "message": "success", "students": [ { "id": "257633000000070001", "name": "hjeke", "percentage": 36, "type": "Good", }, { "id": "257633000000073001", "name": "Second", "percentage": 4, "type": "bad", }] And so i used the following class for deserializing using Newtonsoft.json [DataContract] public class students { [DataMember(Name = "code")] public int Code { get; set; } [DataMember(Name = "message")] public string Message { get; set; }