Manoj Maharana

Manoj Maharana

  • NA
  • 362
  • 127.9k

Json.NET deserializing custom object returns null

Mar 22 2017 6:24 AM
how do i fix??
 
  1. GetSSASAcademyBookedCoursesModel _contacts = new GetSSASAcademyBookedCoursesModel();  
  2.   
  3.                 _contacts = JsonConvert.DeserializeObject<GetSSASAcademyBookedCoursesModel>(jsonresult.Data.ToString());  
  4.                 recordsTotal = _contacts.totalRecords;  
 

Answers (2)