Function hex_conservative::serde::deserialize
source ยท pub fn deserialize<'de, D, T>(d: D) -> Result<T, D::Error>
Available on crate feature
serde
only.Expand description
Deserializes a hex string into raw bytes.
Allows upper, lower, and mixed case characters (e.g. a5b3c1
, A5B3C1
and A5b3C1
).
We only deserialize from hex if the serializer is human readable, if not we call through to the
Deserialize
implementation for T
.