Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ msgpack_serialize_dataclass
Function
msgpack_serialize_dataclass
benchmarks/python/fory_benchmark.py:322–324 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
320
321
322
def
msgpack_serialize_dataclass(obj):
323
payload = make_msgpack_compatible(obj)
324
msgpack.dumps(payload, use_bin_type=True)
325
326
327
def
msgpack_deserialize(binary):
Callers
nothing calls this directly
Calls
2
make_msgpack_compatible
Function · 0.85
dumps
Method · 0.45
Tested by
no test coverage detected