<?php
header('Content-Type:application/json; charset=utf-8');
function json($code, $message, $data) {
$result = array(
"code" => $code,
"message" => $message,
"data" => $data
);
return json_encode($result);
}
이 수익률은 표준 JSON, JSON 문자열없는 관심을 지불하지만, JSON 객체와 중국은 깨진되지 않습니다.