mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 00:38:26 +01:00
asFloat() ignores pointers (6808,5626)
This commit is contained in:
@@ -87,6 +87,12 @@ class VariantData {
|
||||
|
||||
bool asBoolean() const;
|
||||
|
||||
const VariantData *resolve() const {
|
||||
if (isPointer())
|
||||
return _content.asPointer->resolve();
|
||||
return this;
|
||||
}
|
||||
|
||||
CollectionData *asArray() {
|
||||
return isArrayStrict() ? &_content.asCollection : 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user