scalatra/scalatra — pull request #432 by dozed (2014-11-09 18:34:15+00:00)
Title: Introduce a JsonResult type

This result type can improve the syntax, by triggering implicit conversion to a JValue.

```scala
// now
post("/foos") {
JsonResult(("status" -> true))
}

// previously
post("/foos") {
val jv: JValue = ("status" -> true)
jv
}
```