title: Reading JsValue in Scala
body: <p>How do I access the name of the first resident? Here is the Json file. What comes after the following?</p>
  
  <pre><code>val bigwig = (json \ "residents")(1)..... 
  
  
  import play.api.libs.json._
  
  val json: JsValue = Json.parse("""
  {
    "name" : "Watership Down",
    "location" : {
      "lat" : 51.235685,
      "long" : -1.309197
    },
    "residents" : [ {
      "name" : "Fiver",
      "age" : 4,
      "role" : null
    }, {
      "name" : "Bigwig",
      "age" : 6,
      "role" : "Owsla"
    } ]
  }
  """)
  </code></pre>