code: public <T> Response<T> toJsonResponse(TypeInfer<T> typeInfer) {
          return new Response<>(this.url, this.statusCode, this.cookies, this.headers, readToJson(typeInfer));
      }
docs: Convert http response body to json result