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
255 stars 16 forks source link

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

Closed trim21 closed 2 months ago

trim21 commented 2 months 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 2 months ago

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