2020-11-03 06:34:34 +01:00
[
{
"id" : "330f4888.cccb28" ,
"type" : "inject" ,
"z" : "4b63452d.672afc" ,
"name" : "" ,
"props" : [
{
"p" : "payload"
} ,
{
"p" : "topic" ,
"vt" : "str"
}
] ,
"repeat" : "" ,
"crontab" : "" ,
"once" : false ,
"onceDelay" : 0.1 ,
"topic" : "" ,
"payload" : "" ,
"payloadType" : "date" ,
"x" : 260 ,
"y" : 180 ,
"wires" : [
[
"ed11f8d6.5e3c88"
]
]
} ,
{
"id" : "a0288b44.71d488" ,
"type" : "csv" ,
"z" : "4b63452d.672afc" ,
"name" : "" ,
"sep" : "," ,
"hdrin" : "" ,
"hdrout" : "none" ,
"multi" : "one" ,
"ret" : "\\n" ,
"temp" : "" ,
"skip" : "0" ,
"strings" : true ,
"include_empty_strings" : "" ,
"include_null_values" : "" ,
"x" : 600 ,
"y" : 180 ,
"wires" : [
[
"369cbe42.4af9f2"
]
]
} ,
{
"id" : "ed11f8d6.5e3c88" ,
"type" : "template" ,
"z" : "4b63452d.672afc" ,
"name" : "CSV data" ,
"field" : "payload" ,
"fieldType" : "msg" ,
"format" : "text" ,
"syntax" : "mustache" ,
"template" : "Apple,100,Canada\nOrange,120,USA\nBanana,80,Philippines" ,
"output" : "str" ,
"x" : 430 ,
"y" : 180 ,
"wires" : [
[
"a0288b44.71d488"
]
]
} ,
{
"id" : "369cbe42.4af9f2" ,
"type" : "debug" ,
"z" : "4b63452d.672afc" ,
"name" : "" ,
"active" : true ,
"tosidebar" : true ,
"console" : false ,
"tostatus" : false ,
"complete" : "false" ,
"statusVal" : "" ,
"statusType" : "auto" ,
"x" : 780 ,
"y" : 180 ,
"wires" : [ ]
} ,
{
"id" : "783cfaa6.52fbe4" ,
"type" : "comment" ,
"z" : "4b63452d.672afc" ,
2020-12-07 15:04:42 +01:00
"name" : "Parse CSV with default column name as messages" ,
"info" : "CSV node can parse input CSV data.\nParsed CSV record can be sent as a message sequence.\nEach message payload points to an object with `col`*N* as a key and CSV value as a value.\n" ,
2020-11-03 06:34:34 +01:00
"x" : 330 ,
"y" : 120 ,
"wires" : [ ]
}
]