Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

JSONResponse

import { JSONResponse } from "https://raw.githubusercontent.com/worker-tools/json-fetch/master/index.ts";
class JSONResponse extends Response {
constructor(
body?: JSONBodyInit | null,
init?: ResponseInit,
replacer?: Parameters<JSON.stringify>[1],
space?: Parameters<JSON.stringify>[2],
);
static contentType: string;
}

§Extends

§
Response
[src]

§Constructors

§
new JSONResponse(body?: JSONBodyInit | null, init?: ResponseInit, replacer?: Parameters<JSON.stringify>[1], space?: Parameters<JSON.stringify>[2])
[src]

§Static Properties

§
contentType: string
[src]