public function prettify($json, $flags = null, $indent = "\t", $is_json=null)
    {
        if (!isset($is_json)) {
            $is_json = $this->isJson($json);
        }

        if (!$is_json) {
            return $this->process(json_encode($json, $flags), $indent);
        }

        return $this->process($json, $indent);
    }