Methods
(async) json() → {Promise.<Object>}
Formats the body to an actual JSON object.
Returns:
- Type:
-
Promise.<Object>
The complete body as a JavaScript object.
A wrapper around a request/response HTTP body.
Formats the body to an actual JSON object.
Promise.<Object>
The complete body as a JavaScript object.