MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / decode

Method decode

1d_json/python/person.py:22–24  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

20
21class MyDecoder(json.JSONDecoder):
22 def decode(self, s):
23 d = json.JSONDecoder.decode(self, s)
24 return Person(**d)
25
26
27if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

PersonClass · 0.70

Tested by

no test coverage detected