mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02:00
Renamed JsonObjectBase::getNestedTokenCounts() into getNestedTokenCount()
This commit is contained in:
@ -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