mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Made deserializeJson() more picky about trailing characters (closes #980)
This commit is contained in:
@@ -177,6 +177,10 @@ class VariantData {
|
||||
return type() == VALUE_IS_NULL;
|
||||
}
|
||||
|
||||
bool isEnclosed() const {
|
||||
return isCollection() || isString();
|
||||
}
|
||||
|
||||
void remove(size_t index) {
|
||||
if (isArray()) _content.asCollection.remove(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user