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

Class MyEncoder

1d_json/python/person.py:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class MyEncoder(json.JSONEncoder):
17 def default(self, o):
18 return o.__dict__
19
20
21class MyDecoder(json.JSONDecoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected