Hi,
I have the following message payload:
{"Header":{"Version":5,"Device":"80","Timestamp":1564041835},"Data":{"Inputs":[{"Number":1,"AD":"A","Value":{"Value":32.4,"Unit":"1"}},{"Number":2,"AD":"A","Value":{"Value":27.2,"Unit":"1"}},{"Number":3,"AD":"A","Value":{"Value":68.3,"Unit":"1"}},{"Number":4,"AD":"A","Value":{"Value":29,"Unit":"1"}},{"Number":5,"AD":"A","Value":{"Value":36.6,"Unit":"1"}},{"Number":6,"AD":"A","Value":{"Value":31.2,"Unit":"1"}},{"Number":7,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":8,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":9,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":10,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":11,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":12,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":13,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":14,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":15,"AD":"D","Value":{"Value":0,"Unit":"43"}},{"Number":16,"AD":"A","Value":{"Value":151,"Unit":"3"}}]},"Status":"OK","Status code":0}
How can I parse one part of this message, eg. Value of Input Number 1, and set it as new message body?
Best Regards,
Johannes