I suggest to create models to present your JSON data:
public class MajorIssue
{
public int attributeId { get; set; }
public string attributeKey { get; set; }
public string attributeValue { get; set; }
}
public class Attributes
{
public MajorIssue MajorIssue { get; set; }
}
public class RootObject
{
public string Name { get; set; }
public string policyName { get; set; }
public string targetResource { get; set; }
public Attributes attributes { get; set; }
public bool enabled { get; set; }
}
so you can deserialize objects easily:
dynamic Result = JsonConvert.DeserializeObject<RootObject>(jsonResultFromAPI);
var value = Result.Attributes.MajorIssue.attributeValue;