Added JsonArray::getLong() and JsonHashTable::getLong()

This commit is contained in:
Benoit Blanchon committed 2014-01-12 12:57:44 +01:00
1 parent b3647a7d91
commit 80c2cf3567
6 files changed
+28 -5

No files matched your search

+6 -1
View File
@@ -46,7 +46,12 @@ JsonHashTable JsonArray::getHashTable(int index)
return JsonHashTable(json, getToken(index));
}
long JsonArray::getLong(int index)
{
return getLongFromToken(getToken(index));
}
char* JsonArray::getString(int index)
{
return getTokenString(getToken(index));
return getStringFromToken(getToken(index));
}