title: JSON google geocode API get country
body: <p>I have a JSON: <a href="http://maps.googleapis.com/maps/api/geocode/json?latlng=49,19&amp;sensor=false" rel="nofollow">http://maps.googleapis.com/maps/api/geocode/json?latlng=49,19&amp;sensor=false</a></p>
  
  <p>and I need get only short_name of country. (For this example 'SK').
  Therefore I get the short_name which the attribute "types" contains [ "country", "political" ].</p>
  
  <p>I have...</p>
  
  <pre><code> data.results[0].address_components
  </code></pre>
  
  <p>thanks.</p>