Answers for "prettyprint json php"

PHP
1

php json pretty print

$json_string = json_encode($data, JSON_PRETTY_PRINT);
Posted by: Guest on February-03-2021
8

php JSON_PRETTY_PRINT and ?

header('Content-Type: application/json');


JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES
Posted by: Guest on July-27-2021

Browse Popular Code Answers by Language