you have 2 variants
- Get a root object
Root root = JsonConvert.DeserializeObject<Root>(jsonString);
- Get a list
List<Set1> Set1 = JObject.Parse(jsonString)["Set1"].ToObject<List<Set1>>();
solved not able to convert json string into c# object , getting error- because the type requires a JSON array