title: foreach not applicable to type org.json.jsonArray
body: <p>Same question was asked on the below link.
  <a href="https://stackoverflow.com/q/35771392/8584761">Why for each loop is not applicable for JSON array</a>
  Can we import any jar so that it would work?  </p>