FlowDSL Node Catalog
JSON Merge
Merge the input packet with a constant object or another packet field. Deep-merge.
Overview
| Property | Value |
|---|---|
| Node ID | core/json-merge |
| Kind | transform |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.JSONMerge |
| Icon | lucide:git-merge |
| Color | #8b5cf6 |
| Tags | json, merge |
Outputs
out— Merged packet.
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
strategy | string (deep|shallow|replace) | — | deep | — | |
with | object | — | map[] | — | Static object merged into the packet (deep merge). |
withPath | string | — | — | — | Dotted path on the input packet to merge in (overrides "with"). |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: transform
action_ref: core/json-merge
config:
strategy: deep
with: {}
withPath: some.packet.path