Skip to main content

apply_del

Function apply_del 

Source
pub fn apply_del(
    value: &Value,
    segments: &[Segment],
) -> Result<Value, PickError>
Expand description

Delete the value at the given path, returning a new Value with the deletion.

Time: O(d * w) where d = path depth, w = width at each level. Space: O(N) for the cloned tree.