2020-11-03 06:34:34 +01:00
|
|
|
[
|
|
|
|
{
|
2021-05-10 16:39:23 +02:00
|
|
|
"id": "b05816ab.7f2b08",
|
2020-11-03 06:34:34 +01:00
|
|
|
"type": "comment",
|
2021-05-10 16:39:23 +02:00
|
|
|
"z": "c6ffdacd.d887e8",
|
|
|
|
"name": "Specify column names in input message",
|
|
|
|
"info": "Column names can be specified by `columns` property of incoming message.\n",
|
|
|
|
"x": 240,
|
|
|
|
"y": 200,
|
2020-11-03 06:34:34 +01:00
|
|
|
"wires": []
|
|
|
|
},
|
|
|
|
{
|
2021-05-10 16:39:23 +02:00
|
|
|
"id": "39205b5c.690684",
|
2020-11-03 06:34:34 +01:00
|
|
|
"type": "inject",
|
2021-05-10 16:39:23 +02:00
|
|
|
"z": "c6ffdacd.d887e8",
|
2020-11-03 06:34:34 +01:00
|
|
|
"name": "",
|
|
|
|
"props": [
|
|
|
|
{
|
|
|
|
"p": "payload"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"p": "topic",
|
|
|
|
"vt": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": "",
|
|
|
|
"crontab": "",
|
|
|
|
"once": false,
|
|
|
|
"onceDelay": 0.1,
|
|
|
|
"topic": "",
|
|
|
|
"payload": "",
|
|
|
|
"payloadType": "date",
|
2021-05-10 16:39:23 +02:00
|
|
|
"x": 200,
|
|
|
|
"y": 260,
|
2020-11-03 06:34:34 +01:00
|
|
|
"wires": [
|
|
|
|
[
|
2021-05-10 16:39:23 +02:00
|
|
|
"526b59ba.2fa068"
|
2020-11-03 06:34:34 +01:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-05-10 16:39:23 +02:00
|
|
|
"id": "b78a407e.2d083",
|
2020-11-03 06:34:34 +01:00
|
|
|
"type": "csv",
|
2021-05-10 16:39:23 +02:00
|
|
|
"z": "c6ffdacd.d887e8",
|
2020-11-03 06:34:34 +01:00
|
|
|
"name": "",
|
|
|
|
"sep": ",",
|
|
|
|
"hdrin": false,
|
|
|
|
"hdrout": "all",
|
|
|
|
"multi": "one",
|
|
|
|
"ret": "\\n",
|
2021-05-10 16:39:23 +02:00
|
|
|
"temp": "",
|
2020-11-03 06:34:34 +01:00
|
|
|
"skip": "0",
|
|
|
|
"strings": true,
|
|
|
|
"include_empty_strings": "",
|
|
|
|
"include_null_values": "",
|
2021-05-10 16:39:23 +02:00
|
|
|
"x": 750,
|
|
|
|
"y": 260,
|
2020-11-03 06:34:34 +01:00
|
|
|
"wires": [
|
|
|
|
[
|
2021-05-10 16:39:23 +02:00
|
|
|
"8b7084dd.986f68"
|
2020-11-03 06:34:34 +01:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-05-10 16:39:23 +02:00
|
|
|
"id": "526b59ba.2fa068",
|
2020-11-03 06:34:34 +01:00
|
|
|
"type": "template",
|
2021-05-10 16:39:23 +02:00
|
|
|
"z": "c6ffdacd.d887e8",
|
2020-11-03 06:34:34 +01:00
|
|
|
"name": "JS object",
|
|
|
|
"field": "payload",
|
|
|
|
"fieldType": "msg",
|
|
|
|
"format": "json",
|
|
|
|
"syntax": "plain",
|
|
|
|
"template": "[\n {\n \"kind\": \"Apple\",\n \"price\": 100,\n \"origin\": \"Canada\"\n },\n {\n \"kind\": \"Orange\",\n \"price\": 120,\n \"origin\": \"USA\"\n },\n {\n \"kind\": \"Banana\",\n \"price\": 80,\n \"origin\": \"Philippines\"\n }\n]",
|
|
|
|
"output": "json",
|
2021-05-10 16:39:23 +02:00
|
|
|
"x": 370,
|
|
|
|
"y": 260,
|
2020-11-03 06:34:34 +01:00
|
|
|
"wires": [
|
|
|
|
[
|
2021-05-10 16:39:23 +02:00
|
|
|
"b204077a.227778"
|
2020-11-03 06:34:34 +01:00
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-05-10 16:39:23 +02:00
|
|
|
"id": "8b7084dd.986f68",
|
2020-11-03 06:34:34 +01:00
|
|
|
"type": "debug",
|
2021-05-10 16:39:23 +02:00
|
|
|
"z": "c6ffdacd.d887e8",
|
2020-11-03 06:34:34 +01:00
|
|
|
"name": "",
|
|
|
|
"active": true,
|
|
|
|
"tosidebar": true,
|
|
|
|
"console": false,
|
|
|
|
"tostatus": false,
|
|
|
|
"complete": "false",
|
|
|
|
"statusVal": "",
|
|
|
|
"statusType": "auto",
|
2021-05-10 16:39:23 +02:00
|
|
|
"x": 930,
|
|
|
|
"y": 260,
|
2020-11-03 06:34:34 +01:00
|
|
|
"wires": []
|
2021-05-10 16:39:23 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "b204077a.227778",
|
|
|
|
"type": "change",
|
|
|
|
"z": "c6ffdacd.d887e8",
|
|
|
|
"name": "",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"t": "set",
|
|
|
|
"p": "columns",
|
|
|
|
"pt": "msg",
|
|
|
|
"to": "kind,price",
|
|
|
|
"tot": "str"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"action": "",
|
|
|
|
"property": "",
|
|
|
|
"from": "",
|
|
|
|
"to": "",
|
|
|
|
"reg": false,
|
|
|
|
"x": 570,
|
|
|
|
"y": 260,
|
|
|
|
"wires": [
|
|
|
|
[
|
|
|
|
"b78a407e.2d083"
|
|
|
|
]
|
|
|
|
]
|
2020-11-03 06:34:34 +01:00
|
|
|
}
|
|
|
|
]
|