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

JSONRequest

import { JSONRequest } from "https://raw.githubusercontent.com/worker-tools/json-fetch/master/index.ts";
class JSONRequest extends Request {
constructor(
input: RequestInfo | URL,
replacer?: Parameters<JSON.stringify>[1],
space?: Parameters<JSON.stringify>[2],
);
static accept: string;
static contentType: string;
}

§Extends

§
Request
[src]

§Constructors

§
new JSONRequest(input: RequestInfo | URL, init?: JSONRequestInit, replacer?: Parameters<JSON.stringify>[1], space?: Parameters<JSON.stringify>[2])
[src]

§Static Properties

§
accept: string
[src]
§
contentType: string
[src]