PHP 5.4提供了
JSON_PRETTY_PRINT用于
json_enpre()调用的选项。
http://php.net/manual/zh/function.json-
enpre.php
<?php...$json_string = json_enpre($data, JSON_PRETTY_PRINT);

PHP 5.4提供了
JSON_PRETTY_PRINT用于
json_enpre()调用的选项。
http://php.net/manual/zh/function.json-
enpre.php
<?php...$json_string = json_enpre($data, JSON_PRETTY_PRINT);