title: Java get one JSONObject from a JsonArray
body: <p>I have a Json array, i want to get only one Json object from it.
  In this example how can i get the object with Apple</p>
  
  <pre><code>[
  {
  "name": "mango",
  "use": "DA",
  "date": "2011-09-26",
  "seed": "31341"
  },
  
  {
  "name": "apple",
  "use": "DA",
  "date": "2011-09-26",
  "seed": "31341"
  },
  
  {
  "name": "berry",
  "use": "DA",
  "date": "2011-09-26",
  "seed": "31341"
  }
  ]
  </code></pre>
  
  <p>Previously i used to get it via it's index position but since json doesn't guarantee me order/arrangement that's why i need to specifically get one object without using the index method.</p>