Trait chewdata::helper::value::MergeAndReplace

source ·
pub trait MergeAndReplace {
    // Required method
    fn merge_replace(&mut self, new_value: &Value);
}

Required Methods§

source

fn merge_replace(&mut self, new_value: &Value)

Method use to merge two Json Values : ValueA <- ValueB. Merging two array together will preserve the order and can replace values.

Implementations on Foreign Types§

source§

impl MergeAndReplace for Value

source§

fn merge_replace(&mut self, new_json_value: &Value)

Implementors§