json pretty print convenience function.
In terminals this will act similar to using json_encode() with JSON_PRETTY_PRINT directly, when not run on cli will also wrap
pre> tags around the output of given variable. Similar to pr().
This function returns the same variable that was passed.
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Core/functions.php
pj( mixed $var )
||Variable to print out.|
mixedthe same $var that was passed to this function