title: Parse JSON Array in Scala
body: <p>I have this jsArray (json Array) and I am using <code>import play.api.libs.json._</code> library. </p>
  
  <pre><code>[{”device”:”Samsung S8”,”android”:true},
  {”device”:”iPhone 8”,”android”:false},
  {”device”:”MacBook Air Pro”,”android”:false},
  {”device”:”Dell XPS”,”android”:false}]
  </code></pre>
  
  <p>I want to traverse through this json array in Scala. This array is assigned to <code>var dependency</code>. I want to get the device names which are android. How do I do that?</p>