mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 04:52:22 +02:00
18 lines
279 B
C++
18 lines
279 B
C++
|
|
#include "JsonToken.h"
|
|
|
|
using namespace ArduinoJson::Internal;
|
|
|
|
JsonToken JsonToken::nextSibling() const
|
|
{
|
|
jsmntok_t* t = token;
|
|
int yetToVisit = 1;
|
|
|
|
while (yetToVisit)
|
|
{
|
|
yetToVisit += t->size - 1;
|
|
t++;
|
|
}
|
|
|
|
return t;
|
|
} |