You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for this awesome crate! It makes working with hex-encoded data really a breeze :)
We've ran into a nasty problem though when working with owned data.
Concretely, given an owned serde_json::Value, trying to deserialize a struct that uses SerHex with serde_json::from_value fails because the underlying BytesVisitor that is used only supports borrowed data.
I am working on a patch that supports owned data by implementing a custom visitor.
The text was updated successfully, but these errors were encountered:
First, thanks for this awesome crate! It makes working with hex-encoded data really a breeze :)
We've ran into a nasty problem though when working with owned data.
Concretely, given an owned
serde_json::Value
, trying to deserialize a struct that usesSerHex
withserde_json::from_value
fails because the underlyingBytesVisitor
that is used only supports borrowed data.I am working on a patch that supports owned data by implementing a custom visitor.
The text was updated successfully, but these errors were encountered: