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