Skip to main content

unset_path

Function unset_path 

Source
pub fn unset_path(root: &mut Value, path: &str) -> DocumentResult<()>
Expand description

Remove the key at the given dot-path from its parent object.

This is the free-fn “remove a key” verb (paired with keyed-element removal via crate::document::remove_keyed).