![]() |
Bitcoin Core
24.99.0
P2P Digital Currency
|
#include <rpc/client.h>
#include <tinyformat.h>
#include <util/system.h>
#include <set>
#include <stdint.h>
#include <string>
#include <string_view>
Go to the source code of this file.
Classes | |
class | CRPCConvertParam |
class | CRPCConvertTable |
Functions | |
UniValue | ParseNonRFCJSONValue (std::string_view raw) |
Non-RFC4627 JSON parser, accepts internal values (such as numbers, true, false, null) as well as objects and arrays. More... | |
UniValue | RPCConvertValues (const std::string &strMethod, const std::vector< std::string > &strParams) |
Convert positional arguments to command-specific RPC representation. More... | |
UniValue | RPCConvertNamedValues (const std::string &strMethod, const std::vector< std::string > &strParams) |
Convert named arguments to command-specific RPC representation. More... | |
Variables | |
static const CRPCConvertParam | vRPCConvertParams [] |
Specify a (method, idx, name) here if the argument is a non-string RPC argument and needs to be converted from JSON. More... | |
static CRPCConvertTable | rpcCvtTable |
UniValue ParseNonRFCJSONValue | ( | std::string_view | raw | ) |
Non-RFC4627 JSON parser, accepts internal values (such as numbers, true, false, null) as well as objects and arrays.
Definition at line 261 of file client.cpp.
UniValue RPCConvertNamedValues | ( | const std::string & | strMethod, |
const std::vector< std::string > & | strParams | ||
) |
Convert named arguments to command-specific RPC representation.
Definition at line 280 of file client.cpp.
UniValue RPCConvertValues | ( | const std::string & | strMethod, |
const std::vector< std::string > & | strParams | ||
) |
Convert positional arguments to command-specific RPC representation.
Definition at line 268 of file client.cpp.
|
static |
Definition at line 256 of file client.cpp.
|
static |
Specify a (method, idx, name) here if the argument is a non-string RPC argument and needs to be converted from JSON.
Definition at line 30 of file client.cpp.