I think this JSONata input should be outlined in red and should make the node invalid. Because the properties are not enclosed in double-quotes as they should be for valid JSON.
Am I right or not?
I think this JSONata input should be outlined in red and should make the node invalid. Because the properties are not enclosed in double-quotes as they should be for valid JSON.
Am I right or not?
It is not an invalid JSONata expression.
Given what you have written, it will use the value of msg.random
as the key name in the object.
Ah, OK. Well actually, it returns nothing I'm afraid.
No problem, so just me then.
If you don’t have msg.random
set, then nothing will get set