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:
@@ -34,4 +34,10 @@ JsonHashTable JsonArray::getHashTable(int index)
|
||||
{
|
||||
jsmntok_t* token = getToken(index);
|
||||
return JsonHashTable(json, token);
|
||||
}
|
||||
|
||||
char* JsonArray::getString(int index)
|
||||
{
|
||||
jsmntok_t* token = getToken(index);
|
||||
return token != 0 ? json + token->start : 0;
|
||||
}
|
||||
Reference in New Issue
Block a user