hdac SDK
SDK for hdac blockchain development
rpcresult.h
1 #ifndef RPCRESULT_H
2 #define RPCRESULT_H
3 
4 #include <vector>
5 #include <string>
6 #include <map>
7 
8 std::vector<std::string> findItemsFromRpcResult(const std::string& rpcResult, const std::vector<std::string>& keys);
9 std::map<std::string, std::string> mapFromRpcResult(const std::string& rpcResult, const std::vector<std::string>& keys);
10 
11 #endif // RPCRESULT_H
bool rpcResult(const Object &reply, string &resultStr)
json 형태의 RPC 명령어 결과를 string 형으로 변환 시켜 준다.
Definition: hs_rpc.cpp:368