MCPcopy
hub / github.com/pallets/flask / loads

Method loads

src/flask/json/provider.py:59–65  ·  view source on GitHub ↗

Deserialize data as JSON. :param s: Text or UTF-8 bytes. :param kwargs: May be passed to the underlying JSON library.

(self, s: str | bytes, **kwargs: t.Any)

Source from the content-addressed store, hash-verified

57 fp.write(self.dumps(obj, **kwargs))
58
59 def loads(self, s: str | bytes, **kwargs: t.Any) -> t.Any:
60 """Deserialize data as JSON.
61
62 :param s: Text or UTF-8 bytes.
63 :param kwargs: May be passed to the underlying JSON library.
64 """
65 raise NotImplementedError
66
67 def load(self, fp: t.IO[t.AnyStr], **kwargs: t.Any) -> t.Any:
68 """Deserialize data as JSON read from a file.

Callers 4

loadMethod · 0.95
open_sessionMethod · 0.45
loadsMethod · 0.45
loadsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected