mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Change VariantData::asString() return type to JsonString
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <ArduinoJson/Memory/MemoryPool.hpp>
|
||||
#include <ArduinoJson/Misc/SerializedValue.hpp>
|
||||
#include <ArduinoJson/Numbers/convertNumber.hpp>
|
||||
#include <ArduinoJson/Strings/String.hpp>
|
||||
#include <ArduinoJson/Strings/StringAdapters.hpp>
|
||||
#include <ArduinoJson/Variant/VariantContent.hpp>
|
||||
|
||||
@@ -76,7 +77,7 @@ class VariantData {
|
||||
template <typename T>
|
||||
T asFloat() const;
|
||||
|
||||
const char *asString() const;
|
||||
String asString() const;
|
||||
|
||||
bool asBoolean() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user