hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
json_common.hpp File Reference
#include <numeric>
#include <string>
#include <unordered_map>
#include <rapidjson/document.h>
#include <rapidjson/prettywriter.h>
#include <rapidjson/stringbuffer.h>
#include "common/bind.hpp"
#include "common/byteutils.hpp"
#include "common/obj_utils.hpp"
#include "model/block.hpp"
#include "model/common.hpp"
#include "model/queries/get_transactions.hpp"
#include "model/signature.hpp"
Include dependency graph for json_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  iroha::model::converters::Convert< V >
 
struct  iroha::model::converters::Convert< blob_t< size > >
 
struct  iroha::model::converters::FieldDeserializer< D >
 
struct  iroha::model::converters::Convert< Signature >
 
struct  iroha::model::converters::Convert< Block::SignaturesType >
 
struct  iroha::model::converters::Convert< GetTransactions::TxHashCollectionType >
 

Namespaces

 iroha
 
 iroha::model
 
 iroha::model::converters
 

Macros

#define RAPIDJSON_HAS_STDSTRING   1
 

Functions

template<typename T , typename D >
boost::optional< T > iroha::model::converters::deserializeField (const D &document, const std::string &field)
 
template<typename D >
auto iroha::model::converters::makeFieldDeserializer (const D &document)
 
rapidjson::Value iroha::model::converters::serializeSignature (const Signature &signature, rapidjson::Document::AllocatorType &allocator)
 
boost::optional< Document > iroha::model::converters::stringToJson (const std::string &string)
 
std::string iroha::model::converters::jsonToString (const rapidjson::Document &document)
 

Macro Definition Documentation

#define RAPIDJSON_HAS_STDSTRING   1

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0