Skip to main content

json

method Body.json
Jump to headingBody.json(): Promise<any>

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.

Return Type Jump to heading

Promise<any>
Back to top