Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dax/src/request.ts>RequestResponse#json

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method RequestResponse.prototype.json
import { RequestResponse } from "https://deno.land/x/dax@0.38.0/src/request.ts";

Respose body as JSON.

Note: Returns undefined when .noThrow(404) and status code is 404.

Type Parameters

optional
TResult = any