json.php
$json = array (
0 => array (
id => 13,
name => 乒乓球,
)、
1 => 配列 (
id => ; 17,
name => 篮球,
)
);
print_r($json);
$code=json_encode($json);
echo preg_replace("#u([0-9a-f] )#ie ", "iconv(UCS-2, UTF-8, Pack(H4, 1))", $code);
?>
json.html