title: Reading JSON with JQuery : Field Names
body: <p>I have a json payload like below;</p>
  
  <pre><code>{ "ABW": "Aruba", "AFG": "Afghanistan", "AGO": "Angola" }
  </code></pre>
  
  <p>As you see, it will have all countries. I can read a JSON payload as it is mentioned here;</p>
  
  <p><a href="http://webhole.net/2009/11/28/how-to-read-json-with-javascript/" rel="nofollow">http://webhole.net/2009/11/28/how-to-read-json-with-javascript/</a></p>
  
  <p>One problem here is that, how am I going to read the Country Codes here? They will change for every each value. </p>
  
  <p>My goal here is to assign the Country code to value property of the option and country name to text of the option in a select list.</p>