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
好哦幫助非常感謝,謝謝提前:)