src/Leevel/Http/JsonResponse.php
public static function create($data = null, int $status = 200, array $headers = []): IResponse
    {
        return new static($data, $status, $headers);
    }
public static function create($data = null, int $status = 200, array $headers = []): IResponse
    {
        return new static($data, $status, $headers);
    }
创建一个 JSON 响应.

@param mixed $data
@param int   $status
@param array $headers

@return static