我想将哈希映射转换为JSON对象,我的哈希映射结构如下所示:
def res=Action{ implicit request=>
var response=new HashMap[String,Map[String,String]]
response=//etc .......
.
.
.
Ok(write(response))
}
但是它没有起作用。