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

x/xdg/vendor/types/deno.d.ts>Request#json

Determine XDG Base Directory paths (OS/platform portable)
Latest
method Request.prototype.json
import { Request } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.d.ts";

Takes a Response stream and reads it to completion. It returns a promise that resolves with the result of parsing the body text as JSON.

Returns

Promise<any>