I have msg.payload as an array that I'd like to convert to a key/value pair.
debug shows msg.payload : "25.6"
I'd like to create msg.payload.temperature: "25.6"
I'm using a "change" node to try and set msg.payload.temp to msg.payload but it will not create the obejct.
I can however set msd.temp to msg.payload
Where am I going wrong?