mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Moved JsonArray::getString() and JsonHashTable::getString() into the .cpp files
This commit is contained in:
@@ -42,4 +42,10 @@ JsonArray JsonHashTable::getArray(char* key)
|
||||
{
|
||||
jsmntok_t* token = getToken(key);
|
||||
return JsonArray(json, token);
|
||||
}
|
||||
|
||||
char* JsonHashTable::getString(char* key)
|
||||
{
|
||||
jsmntok_t* token = getToken(key);
|
||||
return token != 0 ? json + token->start : 0;
|
||||
}
|
||||
Reference in New Issue
Block a user