Parse the response body as JSON. Returns: The parsed JSON object.
(self)
| 72 | return 200 <= self.status <= 299 |
| 73 | |
| 74 | def json(self) -> Any: |
| 75 | """Parse the response body as JSON. |
| 76 | |
| 77 | Returns: |
| 78 | The parsed JSON object. |
| 79 | """ |
| 80 | return json.loads(self._body) |
| 81 | |
| 82 | def text(self) -> str: |
| 83 | """Decode the response body as UTF-8 text. |
no outgoing calls