Description
Reshape input JSON using a JSONata expression.
logic_transform · logic · Logic & Flow · Available · v1.1.0
Reshape input JSON using a JSONata expression.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
expressionEspressione JSONata | code | yes | — { "name": firstName & " " & lastName, "ageNext": age + 1, "topOrders": orders[total > 100].id } | Espressione JSONata applicata all'intero payload `input`. Le funzioni built-in più usate: `$count()`, `$sum()`, `$average()`, `$map()`, `$filter()`, `$reduce()`, `$keys()`, `$lookup()`, `$merge()`, `$string()`, `$number()`, `$boolean()`, `$now()`, `$millis()`, `$fromMillis()`. Per debug: usa il playground su jsonata.org incollando l'input reale di un run precedente. |
JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-logic_transform-1",
"defId": "logic_transform",
"label": "Transform (JSONata)",
"config": {
"expression": "{\n \"name\": firstName & \" \" & lastName,\n \"ageNext\": age + 1,\n \"topOrders\": orders[total > 100].id\n}"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes