title: Converting JDouble to Double (JSON library)
body: <p>I'm using <a href="https://github.com/json4s/json4s" rel="nofollow">https://github.com/json4s/json4s</a>. How do I convert its values such as <code>JDouble</code>, <code>JBool</code> to corresponding Scala's data types -- <code>Double</code> and <code>Boolean</code>? </p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <pre><code>scala&gt; (json \ "status")
  res8: org.json4s.JValue = JBool(false)
  
  scala&gt; (json \ "status").extract[Boolean]
  &lt;console&gt;:16: error: No org.json4s.Formats found. Try to bring an instance of org.json4s.Formats in scope or use the org.json4s.DefaultFormats.
                (json \ "status").extract[Boolean]
  </code></pre>