title: C# - Cannot deserialize the current JSON array
body: <p>I have this code:</p>
  
  <pre><code>string json2 = vc.Request(model.uri + "?fields=uri,transcode.status", "GET");
  var deserial = JsonConvert.DeserializeObject&lt;Dictionary&lt;string, object&gt;&gt;(json2);
  var transcode = deserial["transcode"];
  var serial = JsonConvert.SerializeObject(transcode);
  var deserial2 = JsonConvert.DeserializeObject&lt;Dictionary&lt;string, object&gt;&gt;(serial);
  var upstatus = deserial2["status"].ToString();
  </code></pre>
  
  <p>The json I get from the server is:</p>
  
  <pre><code>{
      "uri": "/videos/262240241",
      "transcode": {
          "status": "in_progress"
      }
  }
  </code></pre>
  
  <p>When running it on VS2017, it works.</p>
  
  <p>But on VS2010 I get the following error:</p>
  
  <blockquote>
    <p>Cannot deserialize the current JSON array (e.g. [1,2,3]) into type
    'System.Collections.Generic.Dictionary`2[System.String,System.Object]'
    because the type requires a JSON object (e.g. {"name":"value"}) to
    deserialize correctly.
        To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a
    type that implements a collection interface (e.g. ICollection, IList)
    like List that can be deserialized from a JSON array.
    JsonArrayAttribute can also be added to the type to force it to
    deserialize from a JSON array.
        Path '', line 1, position 1.</p>
  </blockquote>
  
  <p>I am using Newtonsoft.Json.</p>
  
  <p>Any idea?</p>