0
我有以下几点:斯卡拉电梯 - 返回JSON对象响应
def response() = {
if (value == 1) {
("code" -> "API_001") ~ ("result" -> "OK - Room created")
}
}
JsonResponse(
("response" -> response)
)
,但我得到了以下错误:
No implicit view available for Any => net.liftweb.json.package.JValue
好哦帮助非常感谢,谢谢提前:)