using System.Collections.Generic;
public static void Main()
""displayFieldName"": ""REPNAME"",
""DISTRICT"": ""DISTRICT"",
""type"": ""esriFieldTypeDouble"",
""type"": ""esriFieldTypeString"",
""REPNAME"": ""Ira Anders""
var rootObject = JsonConvert.DeserializeObject<RootObject>(json);
var attributes = rootObject.features.Select(f => f.attributes);
foreach (var a in attributes)
Console.WriteLine("DISTRICT: " + a.DISTRICT);
Console.WriteLine("REPNAME: " + a.REPNAME);
public class FieldAliases
public string DISTRICT { get; set; }
public string REPNAME { get; set; }
public string name { get; set; }
public string type { get; set; }
public string alias { get; set; }
public int? length { get; set; }
public int DISTRICT { get; set; }
public string REPNAME { get; set; }
public Attributes attributes { get; set; }
public string displayFieldName { get; set; }
public FieldAliases fieldAliases { get; set; }
public List<Field> fields { get; set; }
public List<Feature> features { get; set; }