title: JSON to Map[String,JsObject] with Play 2.0?
body: <p>I'm new to both Play! &amp; Scala, but I'm trying to make a service that will map the JSON request to a Map[String,JsObject] (or Map[String,JsValue], I'm not sure about the distinction), and then output a list of the keys recursively through the map (preferably as a tree).</p>
  
  <p>But I'm having start issues:</p>
  
  <pre><code>def genericJSONResponse = Action(parse.json) {
    request =&gt; request.body
    var keys = request.keys
    Ok("OK")
  }
  </code></pre>
  
  <p>What I would expect here was for keys to be filled with the keys from the request, but of course, it doesn't compile. How should I approach this, given the description above?</p>
  
  <p>Thanks in advance for helping out a Scala noob :-)</p>
  
  <p>Nik</p>