title: Error converting value "System.Collections.Generic.List`1[]" to type 'WebApiTestDefinition.obJson'. Path '', line 1, position 63
body: <p>I tried to deserialize the json data but it was showing error like this. </p>
  
  <pre><code>public ActionResult Test(Login Log)      
  {          
          string sStudName = "ram";
          HttpClient client = new HttpClient();
          client.BaseAddress = new Uri(StudentAPI);
          client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); // this depends on whether you want to get back json or XML            
          var loginResp = client.PostAsJsonAsync(StudentAPI, Log).Result;
          if (loginResp.IsSuccessStatusCode)
          {
              //if (loginResp == null)
              //{
                  var msg = loginResp.Content.ReadAsStringAsync();                    
                  obJson res = JsonConvert.DeserializeObject&lt;obJson&gt;(loginResp.Content.ReadAsStringAsync().Result);
                  return Json(Log, JsonRequestBehavior.AllowGet);
              //}
              //return Redirect("/Admission/Registration");
          }
          else
          {
  
          }
          return View();
  }
  </code></pre>