Skip to main content
json - stream/consumers - Node documentation
function json

Usage in Deno

import { json } from "node:stream/consumers";
json(stream:
ReadableStream
| Readable
| AsyncIterable<any>
): Promise<unknown>

Parameters

stream:
ReadableStream
| Readable
| AsyncIterable<any>

Return Type

Promise<unknown>
Back to top