MCPcopy
hub / github.com/pallets/werkzeug / json

Method json

src/werkzeug/wrappers/response.py:587–593  ·  view source on GitHub ↗

The parsed JSON data if :attr:`mimetype` indicates JSON (:mimetype:`application/json`, see :attr:`is_json`). Calls :meth:`get_json` with default arguments.

(self)

Source from the content-addressed store, hash-verified

585
586 @property
587 def json(self) -> t.Any | None:
588 """The parsed JSON data if :attr:`mimetype` indicates JSON
589 (:mimetype:`application/json`, see :attr:`is_json`).
590
591 Calls :meth:`get_json` with default arguments.
592 """
593 return self.get_json()
594
595 @t.overload
596 def get_json(self, force: bool = ..., silent: t.Literal[False] = ...) -> t.Any: ...

Callers

nothing calls this directly

Calls 1

get_jsonMethod · 0.95

Tested by

no test coverage detected