bakman2
I cannot thank you enough! Your solution works like a charm! To generate an unknown amount of property keys I just had to adjust a little bit of your code to let it act like the push
method
msg.object = [{ property: { }}];
for (let i = 0 ; i<5; i++){
msg.object[0].property["key_" +i] = "value_"+i;
}
return msg;
I am so glad the node-red community is that awesome