From 0d286125075a1dbe0edcb0cc1860cb16c2031492 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Fri, 1 Aug 2014 15:23:14 +0200 Subject: [PATCH] Fixed casting JsonValue to string --- JsonGenerator/JsonValue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JsonGenerator/JsonValue.h b/JsonGenerator/JsonValue.h index f45cbb10..0cb2a905 100644 --- a/JsonGenerator/JsonValue.h +++ b/JsonGenerator/JsonValue.h @@ -66,7 +66,7 @@ namespace ArduinoJson operator const char*() { - return ""; + return content.asString; } operator double()