How i can parse this code into dashboard?

how i can parse this code into dashboard ?.


Welcome to the forum @kemplut.
That appears to be a JSON string embedded in a javascript object, which is a bit unusual.
If you are a complete beginner I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

Then read the node red doc Working with Messages which will show you how to use a Change node to extract the "con" string to msg.payload. Then if you feed that through a JSON node it should convert the JSON string to a javascript object so you can feed it to the dashboard.

In addidion to what colin has said, in future, post code instead of (or as well as) a screenshot

{ "like": "this" }

That way, if a user decides to generate a flow for you, they dont have to re-type the code/JSON from your screenshot.

thanks all I have done solved this problem

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