Custom Command
FunctionsObject Functions

$objectMerge

Merge the current object with another object, it overwrites the conflicted keys

Usage

$objectMerge[object]

Example:

Member
9/5/2026

!!exec $objectSet[name;Mido] $objectMerge[{"country":"EG"}] $objectGet

Custom Command
APP
9/5/2026

{"name":"Mido", "country":"EG"}

Example (Nested Keys):

Member
9/5/2026

!!exec $objectSet[user;name;Mido] $objectSet[user;country;EG] Before: $objectGet $objectMerge[user;{"name":"Rake","country":"DE"}] After: $objectGet

Custom Command
APP
9/5/2026

Before: {"user":{"name":"Mido","country":"EG"}} After: {"user":{"name":"Rake","country":"DE"}}

On this page