我正在尝试将 json 数据放入 codeigniter-restserver 响应中,但是 json 代码被放入双引号中,有效地使其不可读。我目前正在尝试设置这样的响应:
$this->response(array(
'status' => $result['success'],
'error' => $result['cause'],
'result' => $result['result']
), $result['statuscode']);
$result['result']
json代码在哪里。