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
@@ -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