PHP Classes
elePHPant
Icontem

PHP can do this since version 5.4 (2012ish)

Recommend this page to a friend!

      PHP JSON Pretty Print  >  All threads  >  PHP can do this since version 5.4...  >  (Un) Subscribe thread alerts  
Subject:PHP can do this since version 5.4...
Summary:PHP does this natively
Messages:1
Author:Michael Richey
Date:2019-08-21 05:01:45
 

 


  1. PHP can do this since version 5.4...   Reply   Report abuse  
Michael Richey - 2019-08-21 05:01:45
json_encode($object, JSON_PRETTY_PRINT);

php.net/manual/en/function.json-enc ...