forked from bblanchon/ArduinoJson
Test casting a JsonValue to an int
This commit is contained in:
1 parent
15d3068d78
commit
88510705be
2 files changed
+16
-4
No files matched your search
@@ -64,6 +64,11 @@ namespace ArduinoJson
|
||||
return "";
|
||||
}
|
||||
|
||||
operator int()
|
||||
{
|
||||
return content.asLong;
|
||||
}
|
||||
|
||||
size_t printTo(Print& p) const
|
||||
{
|
||||
// handmade polymorphism
|
||||
|
||||
Reference in new issue
Block a user