Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Response
- {
- public string Version {get;set;}
- public int StatusCode {get;set;}
- public object Result {get;set;}
- }
- {
- "Version":"1.2.3",
- "StatusCode":200,
- "Result":
- {
- "Id":42,
- "QuestionText":"This is a test question",
- "QuestionImageUrl": "http://www.blah.com/test.png"
- }
- }
- var result = JsonConvert.DeserializeObject<Response>(json);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement