Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/json_fetch/index.ts>JSONResponse

Enhanced Fetch API with first class support for JSON objects
Latest
class JSONResponse
extends Response
import { JSONResponse } from "https://deno.land/x/json_fetch@v2.1.0-pre.6/index.ts";

Constructors

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

Static Properties

contentType: string