Works like json_encode, but adds JSON_PRETTY_PRINT if the current php version supports it
i.e. PHP is 5.4.0 or greated
public static json_encode ( $value ) | ||
$value | array|object|string|whatever that is json_encode'able |
public static json_encode ( $value ) | ||
$value | array|object|string|whatever that is json_encode'able |