aviramha / ormsgpack

Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]
Apache License 2.0
239 stars 15 forks source link

can not get tag and data from `Ext` #286

Closed trim21 closed 5 hours ago

trim21 commented 5 hours ago

there is no way to get Ext tag and data from decoded ormsgpack.Ext type, unless users use defined their own Ext type again as ext hook.

exg commented 5 hours ago

That is by design. Ext objects should only be used to request serialization in MessagePack Ext format.