public static function json($json, $name = '...')
    {
        if (!self::isDebug()) {
            return false;
        }

        $jsonData = json_decode($json);
        $result   = self::i()->_jsonEncode($jsonData);

        return self::i()->dump($result, $name);
    }
public static function json($json, $name = '...')
    {
        if (!self::isDebug()) {
            return false;
        }

        $jsonData = json_decode($json);
        $result   = self::i()->_jsonEncode($jsonData);

        return self::i()->dump($result, $name);
    }
public static function json ( $ json , $ name = '...' ) { if ( ! self :: isDebug ( ) ) { return false ; } $ jsonData = json_decode ( $ json ) ; $ result = self :: i ( ) -> _jsonEncode ( $ jsonData ) ; return self :: i ( ) -> dump ( $ result , $ name ) ; }
Convert JSON format to human readability
@param        $json
@param string $name
@return bool|JBDump
Convert JSON format to human readability