title: Parsing this strange JSON using PHP
body: <p>Can anyone tell me that how to retrieve URL element only from the first child of "thumbnail".Here is the json:</p>
  
  <pre><code>"thumbnail": [
        {
         "height": "49",
         "url": "http://news.bbcimg.co.uk/media/images/69340000/jpg/_69340597_8hxs1hvy.jpg",
         "width": "66"
        },
        {
         "height": "81",
         "url": "http://news.bbcimg.co.uk/media/images/69340000/jpg/_69340598_8hxs1hvy.jpg",
         "width": "144"
        }
       ]
  </code></pre>
  
  <p>Please help,I've tried everything from stdClass to JSON parsing but nothing seems to work out.Thanks.</p>
  
  <p><strong>[EDIT]</strong>:
  The above json is an excerpt from a big json rss feed.I have managed to parse the json uptill this thumbnail node as follows:</p>
  
  <pre><code>$decoded_json-&gt;query-&gt;results-&gt;item-&gt;thumbnail
  </code></pre>
  
  <p>where $decoded_json is an object obtained after applying <code>json_decode()</code> function on the root of the json file.Now how to proceed past this <code>thumbnail</code> part?</p>