imessage_database::util::plist

Function get_float_from_nested_dict

Source
pub fn get_float_from_nested_dict<'a>(
    payload: &'a Value,
    key: &'a str,
) -> Option<f64>
Expand description

Extract a float from a key-value pair that looks like {key: {key: 1.2}}