Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
def
ser_de(fory, obj):
45
binary = fory.serialize(obj)
46
return
fory.deserialize(binary)
47
48
49
def
compat_ser_de(remote_cls, local_cls, value, type_id, ref=False):
Callers
15
test_scalar_marker_typeids_drive_struct_fields
Function · 0.70
test_struct
Function · 0.70
test_nested_declared_field_type_drives_local_roundtrip
Function · 0.70
test_inheritance
Function · 0.70
test_bool_field_coercion
Function · 0.70
test_bool_field_coercion_numpy_bool
Function · 0.70
test_data_class_serializer_xlang
Function · 0.70
test_dataclass_with_typed_tuple_field
Function · 0.70
test_xlang_dataclass_tuple_field
Function · 0.70
test_xlang_nested_tuple_container_fields
Function · 0.70
test_optional_fields
Function · 0.70
test_nested_optional_fields
Function · 0.70
Calls
2
serialize
Method · 0.65
deserialize
Method · 0.65
Tested by
no test coverage detected