mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02:00
Added verification of the type of token
This commit is contained in:
@ -15,8 +15,7 @@ public:
|
||||
|
||||
JsonObjectBase()
|
||||
{
|
||||
json = 0;
|
||||
tokens = 0;
|
||||
makeInvalid();
|
||||
}
|
||||
|
||||
bool success()
|
||||
@ -32,6 +31,12 @@ protected:
|
||||
this->tokens = tokens;
|
||||
}
|
||||
|
||||
void makeInvalid()
|
||||
{
|
||||
json = 0;
|
||||
tokens = 0;
|
||||
}
|
||||
|
||||
int getNestedTokenCount(int tokenIndex);
|
||||
|
||||
char* json;
|
||||
|
Reference in New Issue
Block a user