diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-06-04 10:31:22 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-04 13:18:35 +0200 |
commit | 043df2b56831bef4c4b726ae4fc761d4710b99be (patch) | |
tree | 8d4dd21f5e8693a4fd793fb4daffc102da47a553 /src/rpcclient.h | |
parent | 519eedeba76a2192bbded69b3c7e7e96bfc549a2 (diff) |
Simplify RPCclient, adapt json_parse_error test
# Conflicts:
# src/test/rpc_tests.cpp
Diffstat (limited to 'src/rpcclient.h')
-rw-r--r-- | src/rpcclient.h | 4 |
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 |