Skip to main content
Module

x/oak/body.ts>Body#json

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
method Body.prototype.json
import { Body } from "https://deno.land/x/oak@v13.2.5/body.ts";

Reads a body to the end attempting to parse the body as a JSON value.

If a JSON reviver has been assigned, it will be used to parse the body.

Returns

Promise<any>