我有以下内容:
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
非常感谢您的帮助,在此先感谢:)