merge - Liquid Filter Reference
On this page
Description
Merges two maps together
| Property | Value |
|---|---|
| Return Type | map |
| Category | maps |
Examples
```liquid
{{ map1 | merge: map2 | json }} ```
Output: {"name":"Fido","type":"dog","breed":"Labrador"}
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.