aboutsummaryrefslogtreecommitdiff
path: root/src/rpcclient.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-06-04 10:31:22 +0200
committerJonas Schnelli <jonas.schnelli@include7.ch>2015-06-04 13:18:35 +0200
commit043df2b56831bef4c4b726ae4fc761d4710b99be (patch)
tree8d4dd21f5e8693a4fd793fb4daffc102da47a553 /src/rpcclient.h
parent519eedeba76a2192bbded69b3c7e7e96bfc549a2 (diff)
downloadbitcoin-043df2b56831bef4c4b726ae4fc761d4710b99be.tar.xz
Simplify RPCclient, adapt json_parse_error test
# Conflicts: # src/test/rpc_tests.cpp
Diffstat (limited to 'src/rpcclient.h')
-rw-r--r--src/rpcclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpcclient.h b/src/rpcclient.h
index 52270aec74..d68b4ed6ae 100644
--- a/src/rpcclient.h
+++ b/src/rpcclient.h
@@ -9,5 +9,9 @@
#include "univalue/univalue.h"
UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
+/** Non-RFC4627 JSON parser, accepts internal values (such as numbers, true, false, null)
+ * as well as objects and arrays.
+ */
+UniValue ParseNonRFCJSONValue(const std::string& strVal);
#endif // BITCOIN_RPCCLIENT_H