Help - Managing object arrays


This is my first post and I'm new to node-red so, sorry in advance :smiley:

So, heres the question:

I'm getting data from a device in REST format, the messages contains data of different kinds and in a casual order. I've managed to transform this stream in an object array with a few simple nodes.

Each array slot contains some information that later I'll need to calculate, now i want to sort and count objects based on the "type" so, every "createTrack" iteration should be recognized.

is there any default node that i ca use to manipulate this kind of object? The alternative is to write something in JS with the function node.

Thank in for any help :slight_smile:


Or you could try a msg based approach by using the split node and process each array element with switch and change nodes...

1 Like