Question
I can't join JSON object.
Debug console always empty.
I want to get like this.
[
{
"title": "aaa",
"description": "...",
"link": "http://..."
},
{
"title": "bbb",
"description": "...",
"link": "http://..."
},
{
"title": "ccc",
"description": "...",
"link": "http://..."
},
]
Environment
- Node-RED 1.0.6
- node-red-node-feedparser 0.1.15
Code
[{"id":"a5ab22b7.39577","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"7b53fbe5.fdcde4","type":"feedparse","z":"a5ab22b7.39577","name":"BBC","url":"https://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml","interval":"1","x":130,"y":80,"wires":[["c52ab983.e47ff8"]]},{"id":"c52ab983.e47ff8","type":"function","z":"a5ab22b7.39577","name":"","func":"return msg.article\n","outputs":1,"noerr":0,"x":270,"y":80,"wires":[["2790c155.32b75e"]]},{"id":"2790c155.32b75e","type":"join","z":"a5ab22b7.39577","name":"","mode":"custom","build":"array","property":"article","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":390,"y":80,"wires":[["15723419.0df55c"]]},{"id":"15723419.0df55c","type":"function","z":"a5ab22b7.39577","name":"","func":"node.warn(msg)\nreturn msg\n","outputs":1,"noerr":0,"x":530,"y":80,"wires":[[]]}]