That JSON represents a
DataSet
, not a
DataTable
. Deserialize to the correct type, and your code should work.
var jsonResponse = "{\"values\":[{\"id\":\"201\",\"name\":\"Zack\"},{\"id\":\"158\",\"name\":\"Kim\"},{\"id\":\"254\",\"name\":\"Scott\"}]}";
DataSet ds = JsonConvert.DeserializeObject<DataSet>(jsonResponse);
gvJson.DataSource = ds.Tables[0];
gvJson.DataBind();