Skip to main content

remove_array_item_preserving

Function remove_array_item_preserving 

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

Remove a keyed object from a JSON array without rebuilding the document.