How to update counter using json



  • I have a device that sends a json using http post on every status change. The json looks something like this: "in:3 out :1" I want to be able to use this data to update a counter so that it shows the value from in-out. Or store the values in some variables or similar. Is this possible?


Log in to reply
 

Suggested Topics

  • 2
  • 5
  • 1
  • 1
  • 5
  • 2
  • 22
  • 1

232
Online

9.9k
Users

10.5k
Topics

108.0k
Posts