Answers for "json prettify function php"

PHP
0

php json pretty print

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

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