print json_jap(array("jap"=>"あいうえお","intType"=>1234567890,"strInt"=>"1234567890"));
{"jap":"あいうえお","intType":1234567890,"strInt":"1234567890"}
json_jap.php
<?php
function json_jap($obj){
$str=json_encode($obj);
$str=preg_replace_callback('{\\\\u([0-9a-f]{4})}',function($m){return mb_convert_encoding(hex2bin($m[1]),'UTF-8','UTF-16');},$str);
$str=str_replace(['\/','>','<',''','&'],['/','>','<','\'','&'],$str);
return $str;
}
?>