* Consumes and returns the body as a JavaScript Object. * * @see https://fetch.spec.whatwg.org/#dom-body-json * @returns {Promise }
()
| 17175 | * @returns {Promise<unknown>} |
| 17176 | */ |
| 17177 | json() { |
| 17178 | return consume(this, "json"); |
| 17179 | } |
| 17180 | /** |
| 17181 | * Consumes and returns the body as a Blob |
| 17182 | * |