title: Search through list of countries with additional informations
body: <p>Basically, I have a list of countries with latitude and longitude and want to calculate the distance between two countries.
  So I put this information in JSON file, which looks like this</p>
  
  <pre><code>[
    {
      "country":"China",
      "latitude":35.0,
      "longitude":105.0,
      "continent":"Asia"
    },
    {
      "country":"India",
      "latitude":20.0,
      "longitude":77.0,
      "continent":"Asia"
    },
    ...
  ]
  </code></pre>
  
  <p>Then I load this file in jQuery: <code>$.getJSON( 'countries.json', function(data){ var json = data; });</code></p>
  
  <p>And now I would like to get the specific information as easy as <code>json.China.longitude</code>.
  I know it doesn't work like this, but what would be the easiest way?</p>
  
  <p>The calculation of the distance based on GPS coordinates is another thing, but I already found a function for this.</p>