merge_known

Function merge_known 

Source
fn merge_known(target: &mut Value, updates: &Value)
Expand description

Overwrite target‘s top-level keys with updates’ keys. Keys in target that aren’t in updates are preserved. Recurses into the data sub-object so future fields inside data also survive.