title: How to read data from json on C#
body: <p>I have the following json Object that I pass to my c# server</p>
  
  <pre><code>[
      {
          "ID": 1,
          "FirstName": "Jay",
          "LastName": "Smith"
      },
      {
          "ID": 2,
          "FirstName": "Rich",
          "LastName": "Son"
      },
      {
          "ID": 3,
          "FirstName": "Emmy",
          "LastName": "Wat"
      }
  ]
  </code></pre>
  
  <p>I create a Class like this</p>
  
  <pre><code>public class Person
  {
      public int ID { get; set; }
      public string FirstName { get; set; }
      public string LastName { get; set; }
  
  }
  </code></pre>
  
  <p>When I do this</p>
  
  <pre><code>public static string addRecord(string details)
  {
      Person tempRecord = JsonConvert.DeserializeObject&lt;Person&gt;(details);
      string tempFN = tempRecord.FirstName;
      return tempFN;
  }
  </code></pre>
  
  <p>I can't get the actual result.</p>
  
  <p>What am I doing Wrong? Do I have to make another List in my Person class? Any help?</p>
  
  <p>UPDATE - my record is from Grid and this is how I send it to my server</p>
  
  <pre><code>    var jsonD = Ext.encode(Ext.pluck(this.myGridStore.data.items, 'data'));
      Ext.Ajax.request({
          scope: this,
          method: 'POST',
          url: 'myApp/AddRecord',
          headers: { 'Content-Type': 'application/json' },
          dataType: 'json',
          jsonData: jsonD,
          success: function (response) {
          },
          failure: function (response) {
          }
      });
  </code></pre>