Guest User

Untitled

a guest
Oct 19th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. [{"id":5,"somevalue":"x","somevalue":"y"},{},{} .....]
  2.  
  3. var response = MyJsonResponse;
  4. response.Data = JsonConvert.DeserializeObject<List<TDecode>>(response.ResponseResult);
  5.  
  6. {"results": [{"id":5,"somevalue":"x","somevalue":"y"},{},{} .....]}
  7.  
  8. public RootObj
  9. {
  10. public List<TDecode> results { get; set; }
  11. }
  12.  
  13. var result = JsonConvert.DeserializeObject<RootObj>(response.ResponseResult);
Add Comment
Please, Sign In to add comment