Method: flask.json.provider.DefaultJSONProvider.loads
Calls: 53, Exceptions: 3, Paths: 1Back
Path 1: 53 calls (1.0)
bytes (13) '{"test":"test"}' (6) '{"_flashes":[{" t":["message","Hello World"]},{" t":["error","Hello World"]},{" t":["warning",{" m":"Testing
dict (39) {} (14) dict (10) {'test': 'test'} (6) {'testing': 42} (3) {'name': 'Flask'} (3) None (3) {'data': 'foo'} (3) {'value': '42'} (2) {'_permanent': True, 'test':... JSONDecodeError (3)
1def loads(self, s: str | bytes, **kwargs: t.Any) -> t.Any:
2 """Deserialize data as JSON from a string or bytes.
3
4 :param s: Text or UTF-8 bytes.
5 :param kwargs: Passed to :func:`json.loads`.
6 """
7 return json.loads(s, **kwargs)