Hi,
Please Refer below code
C#
string jsonData = @"[{
'id':'1',
'Name':'Sachin'
},
{
'id':'2',
'Name':'Rahul'
},
{
'id':'3',
'Name':'Sovrav'
}]";
var jss = new JavaScriptSerializer();
var resource = jss.Deserialize<List<Data>>(jsonData);
Data(class)
public class Data
{
public int id { get; set; }
public string Name { get; set; }
}
I hope this will help you out.