This most likely is a newbie question. Note that there's an if 1!=2 that doesn't work as the function prints "continues". What's wrong with the retu?
def doSomething () = {
val json: JsValue = JsObject(Seq(
"ret" -> JsString("1"),
"msg" -> JsString("Some Msg")
))
if (1 != 2)
Ok(json))
println("continues")
Ok(json)
}
