Is it possible to Deserialize a JSON to a class given as a string [duplicate]
Use JsonConvert.DeserializeObject(string, Type)
:
var jobj = JsonConvert.DeserializeObject(sJsonText, myType);
Or if you prefer
dynamic jobj = JsonConvert.DeserializeObject(sJsonText, myType);