forked from bblanchon/ArduinoJson
Moved JsonArray::getString() and JsonHashTable::getString() into the .cpp files
This commit is contained in:
1 parent
ef8c0ceea8
commit
92e88c1a01
4 files changed
+16
-12
No files matched your search
@@ -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