title: Parse Jsvalue using scala
body: <p>I'm new at scala. I have a Json File that I rea it into String. Then I'm parsing the string to a JSValue. Now I'm trying to read all values to update my database, but i don't know how to proceed.</p>
  
  <pre><code>val l = scala.io.Source.fromFile("list.json").getLines().mkString
  val result: JsValue = Json.parse(l)
  </code></pre>
  
  <p>My Json is like :</p>
  
  <pre><code>{
      picture_id : xxx
      width : xxx
      height : xxx
  },
  {
      picture_id : xxx
      width : xxx
      height : xxx
  },    
  </code></pre>
  
  <p>....</p>
  
  <p>I want to extract even block to update database with right values.</p>
  
  <p>Thx.</p>