Extract values from Json Object


I'm using a great node to connect a universal robot to node red.
The connection works finde and I'm getting Json Data from the robot.
I would like to pick certain values from this json object and display them on a dashboard.
Can anyone tell me how to proceed and extract certain values for example position actual (see foto below) and display them on a dashboard?

The node and a small description can be found here:

Thank you so much!

msg.payload.jointData[0].positionActual will be the solution - you can display this direct in a text node

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.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.



Thank you so much for your answers!
If I want to use for example a gauge or graph to display the values can I use these nodes directly or do I need a change node or something to set the message payload to the value using the path?


Make sure to go through all these essential videos to understand how node-red works.

Every node has a help function, in the info tab. Select the node and read the help.

You can use the gauge node directly, you can choose which property you wish to display.
eg in the value format field
or if you want to round the dispay
{{msg.payload.jointData[0].positionActual | number:3}}

This is all in the help text, use the book icon in the side panel.

In the graph node you would move your value to msg.payload using a change or function or template node. you would also set a msg.topic.

Dear All,

sorry for my late reply.
I want to thank all of you for the very useful comments and your input.
I was able to extract the data and visualize it on the dashboard.

Thank you very much again!

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