hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::converters::JsonBlockFactory Class Reference

#include "json_block_factory.hpp"

Collaboration diagram for iroha::model::converters::JsonBlockFactory:
Collaboration graph

Public Member Functions

 JsonBlockFactory (logger::LoggerPtr log)
 
rapidjson::Document serialize (const Block &block)
 
boost::optional< Blockdeserialize (const rapidjson::Document &document)
 

Constructor & Destructor Documentation

iroha::model::converters::JsonBlockFactory::JsonBlockFactory ( logger::LoggerPtr  log)
explicit

Member Function Documentation

boost::optional< Block > iroha::model::converters::JsonBlockFactory::deserialize ( const rapidjson::Document &  document)

Here is the call graph for this function:

Document iroha::model::converters::JsonBlockFactory::serialize ( const Block block)

Here is the call graph for this function:


The documentation for this class was generated from the following files: