pub trait Assign {
    type Error: Error + Send + Sync + 'static;

    fn assign(
        &mut self,
        ptr: &Pointer,
        value: Value
    ) -> Result<Assignment<'_>, Self::Error>; }
Expand description

Assign is implemented by types which can internally mutate data based on a serde_json::Value.

Required Associated Types

Required Methods

Assign a value of based on the path provided by a JSON Pointer.

Implementations on Foreign Types

Implementors