|
|
void | json_to_binary (const std::string &json, std::string &bin) |
| |
|
void | binary_to_json (const std::string &bin, std::string &json) |
| |
|
void | binary_blocks_to_json (const std::string &bin, std::string &json) |
| |
|
std::string | serialize (const rapidjson::Document &doc) |
| |
|
void | addJsonMember (std::string key, uint8_t val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| |
|
void | addJsonMember (std::string key, uint32_t val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| |
|
void | addJsonMember (std::string key, uint64_t val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| |
|
void | addJsonMember (std::string key, std::string val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root, rapidjson::Value &field) |
| |
|
void | addJsonMember (std::string key, bool val, rapidjson::Document::AllocatorType &allocator, rapidjson::Value &root) |
| |
|
template<class T > |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< std::shared_ptr< T >> &vals) |
| |
|
template<class T > |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< T > &vals) |
| |
|
rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< std::string > &strs) |
| |
|
rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< uint8_t > &nums) |
| |
|
rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< uint32_t > &nums) |
| |
|
rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator, const std::vector< uint64_t > &nums) |
| |
|
std::string | serialize (const boost::property_tree::ptree &node) |
| |
|
void | deserialize (const std::string &json, boost::property_tree::ptree &root) |
| |
| std::shared_ptr< monero_block > | cn_block_to_block (const cryptonote::block &cn_block) |
| |
| std::shared_ptr< monero_tx > | cn_tx_to_tx (const cryptonote::transaction &cn_tx, bool init_as_tx_wallet=false) |
| |
Collection of utilities for the Monero library.