Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ MyDecoder
Class
MyDecoder
1d_json/python/person.py:21–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
20
21
class
MyDecoder(json.JSONDecoder):
22
def
decode(self, s):
23
d = json.JSONDecoder.decode(self, s)
24
return
Person(**d)
25
26
27
if
__name__ ==
'__main__'
:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected