MCPcopy Create free account
hub / github.com/apache/fory / ser_de

Function ser_de

python/pyfory/tests/test_serializer.py:605–607  ·  view source on GitHub ↗
(fory, obj)

Source from the content-addressed store, hash-verified

603
604
605def ser_de(fory, obj):
606 binary = fory.serialize(obj)
607 return fory.deserialize(binary)
608
609
610def test_pickle():

Callers 15

test_floatFunction · 0.70
test_tupleFunction · 0.70
test_stringFunction · 0.70
test_dictFunction · 0.70
test_big_chunk_dictFunction · 0.70
test_basic_serializerFunction · 0.70
test_float16_round_tripFunction · 0.70
test_bfloat16_round_tripFunction · 0.70

Calls 2

serializeMethod · 0.65
deserializeMethod · 0.65

Tested by

no test coverage detected