## 输出数据 > 输出字符串,功能等同`echo` ~~~ Response::write($str); ~~~ > 输出标准`JSON数据` ~~~ Response::josn($arr = []); ~~~ 例子: ~~~ Response::josn([ 'title' => '安米' ]); ~~~