import { toJson } from "https://deno.land/std@0.209.0/streams/to_json.ts";
Converts a JSON-formatted ReadableSteam
of strings or
Uint8Array
s to an object. Works the same as
Response.json
.
Parameters
readableStream: ReadableStream
import { toJson } from "https://deno.land/std@0.209.0/streams/to_json.ts";
Converts a JSON-formatted ReadableSteam
of strings or
Uint8Array
s to an object. Works the same as
Response.json
.