src/Colorium/Http/Response.php
public static function json($content = null, $code = 200, array $headers = [])
    {
        return new Response\Json($content, $code , $headers);
    }
public static function json($content = null, $code = 200, array $headers = [])
    {
        return new Response\Json($content, $code , $headers);
    }
Create JSON response

@param string $content
@param int $code
@param array $headers
@return Response\Json