Skip to main content

update_json_bool

Function update_json_bool 

Source
pub fn update_json_bool(maybe_obj: &Value, key: &str, curr: &mut bool)
Expand description

Try to update a named boolean from a serde Value presumed to be an object. If there is any error do not change the value.