Monero
Loading...
Searching...
No Matches
json_object.cpp File Reference
#include "json_object.h"
#include <boost/range/adaptor/transformed.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <limits>
#include <type_traits>
#include "cryptonote_basic/cryptonote_basic_impl.h"
#include "cryptonote_core/cryptonote_tx_utils.h"
Include dependency graph for json_object.cpp:

Namespaces

namespace  cryptonote
 Holds cryptonote related classes and helpers.
namespace  cryptonote::json

Functions

void cryptonote::json::read_hex (const rapidjson::Value &val, epee::span< std::uint8_t > dest)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rapidjson::Value &src)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const boost::string_ref i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, std::string &str)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const std::vector< std::uint8_t > &src)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, std::vector< std::uint8_t > &dest)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, bool i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, bool &b)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, unsigned char &i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, char &i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, signed char &i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, unsigned short &i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, short &i)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const unsigned int i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, unsigned int &i)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const int i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, int &i)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const unsigned long long i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, unsigned long long &i)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const long long i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, long long &i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, unsigned long &i)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, long &i)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::transaction &tx)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::transaction &tx)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::block &b)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::block &b)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txin_v &txin)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txin_v &txin)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txin_gen &txin)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txin_gen &txin)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txin_to_script &txin)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txin_to_script &txin)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txin_to_scripthash &txin)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txin_to_scripthash &txin)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txin_to_key &txin)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txin_to_key &txin)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txout_to_script &txout)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txout_to_script &txout)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txout_to_scripthash &txout)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txout_to_scripthash &txout)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txout_to_key &txout)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txout_to_key &txout)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::txout_to_tagged_key &txout)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::txout_to_tagged_key &txout)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::tx_out &txout)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::tx_out &txout)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::connection_info &info)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::connection_info &info)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::tx_blob_entry &tx)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::tx_blob_entry &tx)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::block_complete_entry &blk)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::block_complete_entry &blk)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::block_with_transactions &blk)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::block_with_transactions &blk)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::transaction_info &tx_info)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::transaction_info &tx_info)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::output_key_and_amount_index &out)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::output_key_and_amount_index &out)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::amount_with_random_outputs &out)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::amount_with_random_outputs &out)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::peer &peer)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::peer &peer)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::tx_in_pool &tx)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::tx_in_pool &tx)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::hard_fork_info &info)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::hard_fork_info &info)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::output_amount_count &out)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::output_amount_count &out)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::output_amount_and_index &out)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::output_amount_and_index &out)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::output_key_mask_unlocked &out)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::output_key_mask_unlocked &out)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::error &err)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::error &error)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::BlockHeaderResponse &response)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::BlockHeaderResponse &response)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::rctSig &sig, const bool prune)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::rctSig &sig)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::ctkey &key)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::ecdhTuple &tuple)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::ecdhTuple &tuple)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::rangeSig &sig)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::rangeSig &sig)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::Bulletproof &p)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::Bulletproof &p)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::BulletproofPlus &p)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::BulletproofPlus &p)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::boroSig &sig)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::boroSig &sig)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::mgSig &sig)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::mgSig &sig)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const rct::clsag &sig)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, rct::clsag &sig)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::DaemonInfo &info)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::DaemonInfo &info)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::rpc::output_distribution &dist)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::rpc::output_distribution &dist)
void cryptonote::json::toJsonValue (rapidjson::Writer< epee::byte_stream > &dest, const cryptonote::tx_block_template_backlog_entry &entry)
void cryptonote::json::fromJsonValue (const rapidjson::Value &val, cryptonote::tx_block_template_backlog_entry &entry)