mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 16:14:19 +01:00
Fixed JsonVariant::isNull() not returning true after set((char*)0)
This commit is contained in:
@@ -33,6 +33,7 @@ class FlashStringAdapter {
|
||||
}
|
||||
|
||||
size_t size() const {
|
||||
if (!_str) return 0;
|
||||
return strlen_P(reinterpret_cast<const char*>(_str));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user