mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02: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