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

x/dax/mod.ts>RequestBuilder#json

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method RequestBuilder.prototype.json
Re-export
import { RequestBuilder } from "https://deno.land/x/dax@0.31.1/mod.ts";

Fetches and gets the response as JSON additionally setting a JSON accept header if not set.

Type Parameters

optional
TResult = any