A simple question: how to change json property with the value in a text input node? I have a button node that generates a json object to send via mqtt. Now I want to use a text input node to change the value of data
property in the json structure.
[{"id":"06fef075728b4940","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"83ff9096c1e21e77","type":"ui_button","z":"06fef075728b4940","name":"","group":"1b214600.17935a","order":3,"width":0,"height":0,"passthru":false,"label":"Do stuff","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"{\"nodeId\":\"mqtt\",\"idMessage\":1,\"indexPacket\":1,\"totalPackets\":1,\"packetType\":\"request picture\",\"data\":\"node01\"}","payloadType":"json","topic":"topic","topicType":"msg","x":380,"y":1840,"wires":[["798a720fc67b1a65"]]},{"id":"01709def37f25a38","type":"ui_text_input","z":"06fef075728b4940","name":"","label":"","tooltip":"","group":"1b214600.17935a","order":1,"width":0,"height":0,"passthru":true,"mode":"text","delay":"100","topic":"","sendOnBlur":true,"topicType":"str","x":380,"y":1760,"wires":[[]]},{"id":"798a720fc67b1a65","type":"debug","z":"06fef075728b4940","name":"Button click debug node","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":650,"y":1840,"wires":[]},{"id":"1b214600.17935a","type":"ui_group","name":"Default","tab":"b8fb94f4.0d31d8","order":1,"disp":true,"width":"12","collapse":false},{"id":"b8fb94f4.0d31d8","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
How should I do?