title: How do you parse a JSON request with Dispatch?
body: <p>I'm learning Scala, and attempting to understand how traits are working (specifically with the Dispatch library).</p>
  
  <p>I've got something like this:</p>
  
  <pre><code>import dispatch._
  import dispatch.liftjson._
  
  object Foo
  {
      def main(cmd: Array[String])
      {
          val http = new Http;
          val req = :/("example.com") / path &gt;# (list ! obj);
          val res = http(req);
      }
  }
  </code></pre>
  
  <p>Unfortunately, it's complaining that ># is not registered with dispatch.Request. The trait is described within dispatch.liftjson, and it was my assumption that I should just need to import that trait (which _ should cover) for it to register.</p>