Hy out there,
I'm on the line right now, please help me.
I have a msg looking like this:
msg.payload : {
"String1" : 10,
"String2" : 20,
"String3" : 30,
"String4" : 40
}
Now i whant do get the value of one of these strings dynamicaly within a function node.
var Number = 3;
msg.payload = msg.payload + Number;
I want the msg to like now like this:
msg.payload = 30
But this doesnt work. Can anyone help me please to bring that in a correct form.
THX