pub fn deserialize_as_optional_number_or_string<'de, D>(
deserializer: D,
) -> Result<Option<f64>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Expand description
Deserializes an Option<f64>
from an encoded f64 or string or integer (i64 or u64).