A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
BSD 3-Clause "New" or "Revised" License
2.44k
stars
75
forks
source link
`msgspec.convert` seems to not call `dec_hook` for custom dict key #775
Open
the-forest-tree opened 4 days ago
Description
Hi,
I am not sure if this is really a bug it might be expected behavior depending of how different
json.decode
is fromconvert
The issue I am facing is that
dec_hook
is not called for a custom dict key when usingconvert
I refer to the tests suite that was added for this issue