How do i address this object?

I want to parse the number of these objects in my function node. How do i address these objects?

There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.

Short version - use the copy path button that appears under your mouse when you hover over it.

Sure. That gives me payload.tagData["1030408400079025AA86028108F3292D"] Issue here is that the number 1030408400079025AA86028108F3292D is fairly random and therefor cannot be used in the function node.
For example, if i want to add a node to the JSON structure that contains this value, how would i do that?

If these change you will have to scan the keys of the tagData object.

Look into using Object.keys(msg.payload.tagData) then iterate through the keys.

Or look at this thread for ideas

That looks like what i am looking for. Thanks!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.