From 060183974c89c7ebec36fed6d12309b368f19ae4 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Tue, 3 May 2016 03:59:49 +0300 Subject: [PATCH] return json object by default --- src/AsyncJson.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncJson.h b/src/AsyncJson.h index 37f544d..633f00c 100644 --- a/src/AsyncJson.h +++ b/src/AsyncJson.h @@ -55,7 +55,7 @@ class AsyncJsonResponse: public AsyncAbstractResponse { JsonVariant _root; bool _isValid; public: - AsyncJsonResponse(bool isArray): _isValid{false} { + AsyncJsonResponse(bool isArray=false): _isValid{false} { _code = 200; _contentType = "text/json"; if(isArray)