I have JSON object in REST API response:
{ Result: [ { \"id\": 1, \"id_endpoint\": 1, \"name\": \"Endpoint 1\
Please refer to following code:
var response = JsonConvert.DeserializeObject>(JSONstring); if(response != null && response["StatusCode"] == "200") { List lstResult = JsonConvert.DeserializeObject(response["Result"]); }
I hope this would help.