title: get value by key jsonarray
body: <pre><code>JSONArray arr = 
  [
      {"key1":"value1"},
      {"key2":"value2"},
      {"key3":"value3"},
      {"key4":"value4"}
  ]
  </code></pre>
  
  <p><code>arr.get("key1")</code> throws error. How can I get the value by key in <code>JSONArray</code>?</p>
  
  <p><code>arr.getString("key1")</code> also throws error. Should I loop through the array? Is it the only way to do it?</p>
  
  <p>What is the error? </p>
  
  <p>In Eclipse Debug perspective, these expressions returns as; <code>error(s)_during_the_evaluation</code></p>