Skip to main content

json_f64

Function json_f64 

Source
pub fn json_f64(value: &Value, key: &str) -> f64
Expand description

Reads a floating point field from a JSON object, defaulting to 0.0 if absent or the wrong type.