Skip to main content

unset_preserving

Function unset_preserving 

Source
pub fn unset_preserving(content: &str, path: &str) -> DocumentResult<String>
Expand description

Remove one existing JSON member or array item while preserving the rest of the source layout. Removing the root value is intentionally unsupported.