Skip to main content

delete_property

Function delete_property 

Source
pub fn delete_property(object: &mut Value, path: &str) -> bool
Expand description

Delete the value at path. Returns whether something was removed.

Deleting an array element leaves a null hole (it does not shift other elements), matching the reference’s delete array[index] semantics.