Moved JsonArray::getString() and JsonHashTable::getString() into the .cpp files

This commit is contained in:
Benoit Blanchon
2014-01-11 15:15:52 +01:00
parent ef8c0ceea8
commit 92e88c1a01
4 changed files with 16 additions and 12 deletions

View File

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