pub fn json_get_float(json: &str, field: &str) -> Option<f64>
Get a field from a JSON object as a float. Returns None if the field doesn’t exist or isn’t a number.