forked from bblanchon/ArduinoJson
Renamed JsonObjectBase::getNestedTokenCounts() into getNestedTokenCount()
This commit is contained in:
1 parent
43717bff1e
commit
da37162a94
4 files changed
+5
-5
No files matched your search
+2
-2
@@ -6,13 +6,13 @@
|
||||
|
||||
#include "JsonObjectBase.h"
|
||||
|
||||
int JsonObjectBase::getNestedTokenCounts(int tokenIndex)
|
||||
int JsonObjectBase::getNestedTokenCount(int tokenIndex)
|
||||
{
|
||||
int count = 0;
|
||||
|
||||
for (int i = 0; i < tokens[tokenIndex].size; i++)
|
||||
{
|
||||
count += 1 + getNestedTokenCounts(tokenIndex + 1 + i);
|
||||
count += 1 + getNestedTokenCount(tokenIndex + 1 + i);
|
||||
}
|
||||
|
||||
return count;
|
||||
|
||||
Reference in new issue
Block a user