title: Deserializing Instagram JSON using Json.Net
body: <p>I'm having a problem deserializing some Json I'm getting from Instagram.</p>
  
  <p>Here's the webclient:</p>
  
  <pre><code>var json = client.DownloadString("https://api.instagram.com/v1/locations/search?foursquare_v2_id=4f9e03fce4b0176467266bc1&amp;client_id=****");
  </code></pre>
  
  <p>Which pulls this string:</p>
  
  <blockquote>
    <p>{"meta":{"code":200},"data":[{"latitude":35.736772,"id":"17812842","longitude":139.339496,"name":"Fresh
    bagel hoop"}]}</p>
  </blockquote>
  
  <p>I'm trying to deserialize it into a dynamic object like this:</p>
  
  <pre><code>dynamic jsonData = JsonConvert.DeserializeObject&lt;dynamic&gt;(json);
  </code></pre>
  
  <p>Which seems to work, except on the nested array. I can call the root dynamic properties like this:</p>
  
  <pre><code>jsonData.meta, or jsonData.data
  </code></pre>
  
  <p>But I cannot get the id like this:</p>
  
  <pre><code>jsonData.data.id
  </code></pre>
  
  <p>What am I doing wrong?</p>