From 23f71dc740fd2ab68d4cc36cf93fe32f03bb3d45 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 19b338f66..fd82953eb 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; @@ -150,9 +152,19 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector