Closed mikketeus closed 2 years ago
Hi,
How to I loop through an array?
for array in msg['payload']: msg['payload'][array]['object'] = 'test' return msg;
Well, I did it the old way with and incremented a loop counter in the loop. That seems to work fine :)
Hi,
How to I loop through an array?
for array in msg['payload']: msg['payload'][array]['object'] = 'test' return msg;