Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace xmltv
- {
- public class Event
- {
- public string id { get; set; }
- public string eid { get; set; }
- public string start { get; set; }
- public string finish { get; set; }
- public string title { get; set; }
- public string description { get; set; }
- public string img { get; set; }
- public string age { get; set; }
- }
- public class Result
- {
- public string name { get; set; }
- public string id { get; set; }
- public string logo { get; set; }
- public string description { get; set; }
- public List<Event> events { get; set; }
- }
- public class RootObject
- {
- public List<Result> result { get; set; }
- }
- }
- var json = System.IO.File.ReadAllText("axi.json");
- JavaScriptSerializer jsonSerializer = new JavaScriptSerializer { MaxJsonLength = Int32.MaxValue, RecursionLimit = 100 };
- var rez = jsonSerializer.Deserialize<List<RootObject>>(json);
- List<RootObject>
- List<Result>
Add Comment
Please, Sign In to add comment