正文开始
JSON_UNESCAPED_SLASHES
<?php $s = array('a'=>'aaa/bbbb'); echo (json_encode($s, JSON_UNESCAPED_SLASHES));
结果:
{"a":"aaa/bbbb"}
正文结束