Function edn::utils::merge [] [src]

pub fn merge(left: &Value, right: &Value) -> Option<Value>

Merge the EDN Value::Map instance right into left. Returns None if either left or right is not a Value::Map.

Keys present in right overwrite keys present in left. See also https://clojuredocs.org/clojure.core/merge.

TODO: implement merge for [Value], following the concat/SliceConcatExt pattern.