Test casting a JsonValue to a JsonArray

This commit is contained in:
Benoit Blanchon
2014-08-01 15:06:31 +02:00
parent 6384bc414a
commit 1a01800782
2 changed files with 20 additions and 0 deletions

View File

@ -89,6 +89,11 @@ namespace ArduinoJson
return content.asLong;
}
operator Printable&()
{
return *content.asPrintable;
}
size_t printTo(Print& p) const
{
// handmade polymorphism