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

Method default

1d_json/python/person.py:17–18  ·  view source on GitHub ↗
(self, o)

Source from the content-addressed store, hash-verified

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