mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
remove()
This commit is contained in:
@@ -177,13 +177,13 @@ class VariantData {
|
||||
}
|
||||
|
||||
void remove(size_t index) {
|
||||
if (isArray())
|
||||
if (isArrayStrict())
|
||||
_content.asCollection.removeElement(index);
|
||||
}
|
||||
|
||||
template <typename TAdaptedString>
|
||||
void remove(TAdaptedString key) {
|
||||
if (isObject())
|
||||
if (isObjectStrict())
|
||||
_content.asCollection.removeMember(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user