Electroneum
portable_storage_from_json.h File Reference
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include "parserse_base_utils.h"
#include "file_io_utils.h"
Include dependency graph for portable_storage_from_json.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 epee
 
 epee::serialization
 
 epee::serialization::json
 

Macros

#define EPEE_JSON_RECURSION_LIMIT_INTERNAL   100
 
#define CHECK_ISSPACE()   if(!epee::misc_utils::parse::isspace(*it)){ ASSERT_MES_AND_THROW("Wrong JSON character at: " << std::string(it, buf_end));}
 

Functions

template<class t_storage >
void epee::serialization::json::run_handler (typename t_storage::hsection current_section, std::string::const_iterator &sec_buf_begin, std::string::const_iterator buf_end, t_storage &stg, unsigned int recursion)
 
template<class t_storage >
bool epee::serialization::json::load_from_json (const std::string &buff_json, t_storage &stg)
 

Macro Definition Documentation

◆ CHECK_ISSPACE

#define CHECK_ISSPACE ( )    if(!epee::misc_utils::parse::isspace(*it)){ ASSERT_MES_AND_THROW("Wrong JSON character at: " << std::string(it, buf_end));}

Definition at line 42 of file portable_storage_from_json.h.

◆ EPEE_JSON_RECURSION_LIMIT_INTERNAL

#define EPEE_JSON_RECURSION_LIMIT_INTERNAL   100

Definition at line 33 of file portable_storage_from_json.h.