Using websockets request, I get some data from the node in a long string and I need to convert it into readable data.
The data I get looks:
msg.payload= <Navigation id='0x4f7248'><item id='0x513f30'><name>Temperatures</name></item>
And I would like to convert it into:
... msg.payload.item_id='0x514880' msg.payload.name = "Temperatures" ...
Or someting like that.
Someone could help me?