MCPcopy
hub / github.com/encode/starlette / json

Method json

starlette/requests.py:262–266  ·  starlette/requests.py::Request.json
(self)

Source from the content-addressed store, hash-verified

260 return self._body
261
262 async def json(self) -> Any:
263 if not hasattr(self, class="st">"_json"): class="cm"># pragma: no branch
264 body = await self.body()
265 self._json = json.loads(body)
266 return self._json
267
268 async def _get_form(
269 self,

Callers 15

appFunction · 0.95
test_request_urlFunction · 0.80
test_request_headersFunction · 0.80
test_request_bodyFunction · 0.80
test_request_streamFunction · 0.80
test_request_jsonFunction · 0.80

Calls 1

bodyMethod · 0.95

Tested by 15

appFunction · 0.76
test_request_urlFunction · 0.64
test_request_headersFunction · 0.64
test_request_bodyFunction · 0.64
test_request_streamFunction · 0.64
test_request_jsonFunction · 0.64