From 21c10de8c2de17a6357dbbcea7613b41f6ab8449 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Sun, 10 May 2015 14:49:18 +0200 Subject: [PATCH] special threatment for null,true,false because they are non valid json --- src/rpcclient.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index 8b7b9e149..bedf9ffbc 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -11,6 +11,8 @@ #include #include +#include // for to_lower() + using namespace std; using namespace json_spirit; @@ -134,9 +136,19 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector