This page is no longer maintained — Please continue to the home page at

Parsing JSON with dispatch-lift-json

No replies
Nolan Darilek
Joined: 2009-10-11,
User offline. Last seen 42 years 45 weeks ago.

Hash: SHA1

Hey, folks, I'd ask this on the Databinder forums but they require a
CAPTCHA to join and I, unfortunately, am not considered human by most
CAPTCHA standards. I hope I can post here instead, particularly as it's
a fairly quick question (I hope, anyway.)

I'm trying to parse JSON with dispatch-lift-json, but this appears to be
the least documented case. There is one example, but I'm not immediately
sure what the symbols mean.

I've read the lift-json README and understand how to use a case class
for result parsing. Can anyone offer a simple example, given a case
class and a request using #>, how one would funnel the resulting JSON
into that class?

I know there are examples in the code, but those all obfuscate the basic
question into abstraction with traits and such. I'm sure those are
examples of great design, but great design will evolve eventually. Right
now I'd just like to see how to get my JSON into a case class. :)

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland