Function serde_utils::num::from_int_or_hex_to_u64
source · pub fn from_int_or_hex_to_u64<'de, D>(deserializer: D) -> Result<U64, D::Error>where
D: Deserializer<'de>,
Expand description
Deserializes the input into a U64, accepting both 0x-prefixed hex and
decimal strings with arbitrary precision, defined by serde_json’s
Number
.