Skip to main content

unset_value

Function unset_value 

Source
pub fn unset_value(root: &mut Value, key: ConfigKey)
Expand description

Remove key from root. No-op if the path doesn’t exist. Empty parent objects are NOT pruned — we want a stable file shape and serde fills missing fields with defaults on load anyway.