Skip to main content

array_merge

Function array_merge 

Source
pub fn array_merge(a: &Value, b: &Value) -> Value
Expand description

array_merge($a, $b): string keys of b overwrite a’s (in a’s position, new ones appended); integer-keyed entries are appended and renumbered. Two lists concatenate; a list and an object cannot meet in the schema, the object wins then.