ArduinoDumbDisplay v0.9.9-r34
DumbDisplay Arduino Library -- https://github.com/trevorwslee/Arduino-DumbDisplay
 
Loading...
Searching...
No Matches
JsonDDTunnel Struct Reference

#include <dumbdisplay.h>

Detailed Description

support simple REST GET api .. e.g.

pTunnel = dumbdisplay.createJsonTunnel("http://worldtimeapi.org/api/timezone/Asia/Hong_Kong")

. read() will read JSON one piece at a time ... e.g.

{
"full_name": "Bruce Lee",
"name":
{
"first": "Bruce",
"last": "Lee"
},
"gender":"Male",
"age":32
}

==>

  • full_name = Bruce Lee
  • name.first = Bruce
  • name.last = Lee
  • gender = Male
  • age = 32