merge_object

The merge_object filter accepts two object arguments and merges the two.

{{ object1|merge_object(object2) }}