I want to unpack my Json file from Mqtt but I don’t know how to do that. I would be thankful if you can help me. here is some parts of my file.
{“id”:“083a96cf”,“cmd”:“MoveAxis”,“dev”:“fuego”,“sync”:false,“meta”:{“speed”:30.0},“jointPose”:[0.0,-75.0,110.0,0.0,60.0,0.0]}
{“id”:“77d0f018”,“cmd”:“MoveLin”,“dev”:“fuego”,“sync”:false,“meta”:{“redAxis”:0.0,“softness”:0.0,“damping”:100.0,“speed”:-1.0},“tcpPose”:{“X”:1444.0,“Y”:271.5,“Z”:524.0,“A”:-180.0,“B”:0.0,“C”:180.0}}
{“id”:“70c9987d”,“cmd”:“MoveLin”,“dev”:“fuego”,“sync”:true,“meta”:{“redAxis”:0.0,“softness”:0.0,“damping”:100.0,“speed”:10.0},“tcpPose”:{“X”:1444.0,“Y”:271.5,“Z”:374.0,“A”:-180.0,“B”:0.0,“C”:180.0}}
{“id”:“f890e6dc”,“cmd”:“Wait”,“dev”:“fuego”,“sync”:true,“meta”:{“time”:50}}
{“id”:“3e37ed11”,“cmd”:“Switch”,“dev”:“welder2”,“sync”:true,“state”:true}