mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 04:52:22 +02:00
JsonParseExample: use a const char*
instead of a char[]
This commit is contained in:
@ -18,7 +18,7 @@ void setup() {
|
||||
JsonDocument doc;
|
||||
|
||||
// JSON input string.
|
||||
char json[] =
|
||||
const char* json =
|
||||
"{\"sensor\":\"gps\",\"time\":1351824120,\"data\":[48.756080,2.302038]}";
|
||||
|
||||
// Deserialize the JSON document
|
||||
|
Reference in New Issue
Block a user