Manoj Maharana

Manoj Maharana

  • NA
  • 362
  • 126.7k

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)