title: Deserialise and extract array data to Table from a JSON string that has a few string entries before the array entry
body: <p>I have JSON string which corresponds to this C# class</p>
  
  <pre><code>public class MyClass
  {
      public string firstString {get; set;}
      public string secondString {get; set;}
      public List&lt;Person&gt; person{get; set;}
  }
  
  public class Person
  {
      public string age {get; set;}
      public string fullName {get; set;}
  }
  </code></pre>
  
  <p><strong>Line with Error:</strong></p>
  
  <pre><code>List&lt;MyClass&gt; myClassList = JsonConvert.DeserializeObject&lt;List&lt;MyClass&gt;&gt;(JsonString);
  </code></pre>
  
  <p><strong>Aim:</strong> Aim is to get the Person details into a dataTable from a JSON string that corresponds to the class MyClass.</p>
  
  <p>if deserialize had worked had planned to get the Person by Linq select and put that data into a dataTable.  </p>
  
  <p>while deserialising the JSON string to MyClass I get this error:</p>
  
  <blockquote>
    <p>Cannot deserialize the current JSON object (e.g. {\"name\":\"value\"})
    into type 'System.Collections.Generic.List`1[Project.MyClass]' because
    the type requires a JSON array (e.g. [1,2,3]) to deserialize
    correctly.\r\nTo fix this error either change the JSON to a JSON array
    (e.g. [1,2,3]) or change the deserialized type so that it is a normal
    .NET type (e.g. not a primitive type like integer, not a collection
    type like an array or List) that can be deserialized from a JSON
    object. JsonObjectAttribute can also be added to the type to force it
    to deserialize from a JSON object.\r\nPath 'firstString', line 1,
    position 16."}</p>
  </blockquote>