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