My ESP8266 is acting like a web server, and a client is sending to it a JSON string via WebSocket.
All is working fine, although I am not sure how to access the value of the objects in the JSON string.
The ESP8266 receives something like this:
{"command":1}
How do I access the value of command?
I saw the SDK APIs have functions like
jsonparse_setup
jsonparse_copy_value
Thanks!