Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var jsonString = "{"Errors":[{"Number":9,"Status":"BadRequest"}, {"Number":3,"Status":"BadConnection"}]}";
- public class ExceptionStructure
- {
- public int Number { get; set; }
- public string Status { get; set; }
- }
- var exceptionArr = JsonConvert.DeserializeObject<ExceptionStructure>(jsonString);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement