Php Json Encode Indent

[Solved] Php Json Encode Indent | Php - Code Explorer | yomemimo.com
Question : php json_encode indent

Answered by : hossein-zaaferani

$pretty=json_encode($foo, JSON_PRETTY_PRINT);

Source : https://stackoverflow.com/a/4507794/5506886 | Last Update : Fri, 07 May 21

Answers related to php json encode indent

Code Explorer Popular Question For Php