Views 前台导入json2.js var jsonObj = JSON.stringify(result, null,0); controller def jsonStr=JSON.parse(params.result)