Trait jsonptr::Delete

source ·
pub trait Delete {
    type Error;

    // Required method
    fn delete(&mut self, ptr: &Pointer) -> Option<Value>;
}
Expand description

Delete is implemented by types which can internally remove a value based on a JSON Pointer

Required Associated Types§

source

type Error

Error associated with Delete

Required Methods§

source

fn delete(&mut self, ptr: &Pointer) -> Option<Value>

Attempts to internally delete a value based upon a Pointer.

Implementations on Foreign Types§

source§

impl Delete for Value

Implementors§