php-json_encode
json_encode不转义中文
json_encode($data, JSON_UNESCAPED_UNICODE)
$data1 = array( "type" => "1", "scene"=>array( "name"=> "测试", ), ); $data['data']=json_encode($data1,JSON_UNESCAPED_UNICODE);
echo "<pre>";print_r($data);echo "<pre>";exit;