I got the answer
public class BouncesAndBlocks
{
public string status { get; set; }
public string created { get; set; }
public string email { get; set; }
public string reason { get; set; }
}
protected void btnBounces_Click(object sender, EventArgs e)
{
string url = "https://api.sendgrid.com/api/bounces.get.json";
string JS = GetResult(url);
List<bouncesandblocks> res = (List<bouncesandblocks>)JsonConvert.DeserializeObject(JS, typeof(List<bouncesandblocks>));
foreach (var item in res)
{
lbl.Text = "Date:" + item.created.ToString() + " Status:" + item.status.ToString() + " Email:" + item.email.ToString() + " Message:" + item.reason.ToString() + "";
}
}
</bouncesandblocks></bouncesandblocks></bouncesandblocks>