extract_finite_float_from_value

Function extract_finite_float_from_value 

Source
pub fn extract_finite_float_from_value(value: Value) -> Result<f64, Value>
Expand description

Try to extract an f64 from a JSON Value and return the Value in the Err variant if it failed.