mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01: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