mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Added a test that stores an integer in a JsonValue
This commit is contained in:
@@ -15,7 +15,7 @@ public:
|
||||
JsonValue()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
JsonValue(bool value)
|
||||
: implementation(&JsonValue::printBoolTo)
|
||||
{
|
||||
@@ -34,6 +34,10 @@ public:
|
||||
content.asLong = value;
|
||||
}
|
||||
|
||||
JsonValue(int value) : JsonValue((long) value)
|
||||
{
|
||||
}
|
||||
|
||||
JsonValue(Printable& value)
|
||||
: implementation(&JsonValue::printPrintableTo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user