Answers for "c# cannot deserialize the current json object"

C#
23

deserialize json to object c#

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(jsonstring);
Posted by: Guest on May-02-2020
0

Cannot deserialize the current JSON object (e.g. {“name”:“value”})

using Newtonsoft.Json.Linq;

JObject obj = JObject.Parse(jsonString);
JArray arr = (JArray)obj["logInResult"];
IList<JClass> student= arr.ToObject<IList<JClass>>();

return View(student);
Posted by: Guest on August-03-2021

Code answers related to "c# cannot deserialize the current json object"

C# Answers by Framework

Browse Popular Code Answers by Language