MCPcopy Index your code
hub / github.com/apache/fory / ser_de

Function ser_de

python/pyfory/tests/test_struct.py:44–46  ·  view source on GitHub ↗
(fory, obj)

Source from the content-addressed store, hash-verified

42
43
44def ser_de(fory, obj):
45 binary = fory.serialize(obj)
46 return fory.deserialize(binary)
47
48
49def compat_ser_de(remote_cls, local_cls, value, type_id, ref=False):

Calls 2

serializeMethod · 0.65
deserializeMethod · 0.65

Tested by

no test coverage detected