Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/requests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ def text(self):
return content

def json(self, **kwargs):
r"""Returns the json-encoded content of a response, if any.
r"""Returns the json-decoded dict of a response, if any.

:param \*\*kwargs: Optional arguments that ``json.loads`` takes.
:raises requests.exceptions.JSONDecodeError: If the response body does not
Expand Down