import { HTTP } from "https://deno.land/x/keywork@v6.2.1/mod.ts";
const { JSONResponse } = HTTP;
A response sent to the client containing a JSON object.
Constructors
new
JSONResponse(json: { },
request?: Request,
etag?: string,
cacheControlOptions?: CacheControlDirectives,
headersInit?: HeadersInit,
pretty?,