title: Getting an error "Cannot deserialize the current JSON array" when deserializing using Json.Net
body: <p>I have a string:</p>
  
  <pre><code>[
    {
      "key": "key1",
      "value": "{'Time':'15:18:42','Data':'15:18:42'}",
      "duration": 5
    },
    {
      "key": "key1",
      "value": "{'Time':'15:18:42','Data':'15:18:42'}",
      "duration": 5
    }
  ]
  </code></pre>
  
  <p>My class in Models:</p>
  
  <pre><code>public class CPacket
  {
      public string key { get; set; }
      public string value { get; set; }
      public int duration { get; set; }
  }
  </code></pre>
  
  <p>I use Json.Net, I want to convert string bellow to Json Oject.</p>
  
  <pre><code>CPacket c = JsonConvert.DeserializeObject&lt;CPacket&gt;(strPostData);
  </code></pre>
  
  <p>But it error:</p>
  
  <blockquote>
    <p>An exception of type 'Newtonsoft.Json.JsonSerializationException' occurred in Newtonsoft.Json.dll but was not handled in user code<br>
    Additional information: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'QuoteAPI.Models.CPacket' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.</p>
  </blockquote>