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)
| 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. |
no outgoing calls
no test coverage detected