Monero
Loading...
Searching...
No Matches
portable_storage_from_json.h File Reference
#include <boost/lexical_cast.hpp>
#include <boost/utility/string_ref.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

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::serialization
namespace  epee::serialization::json

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "serialization"
#define EPEE_JSON_RECURSION_LIMIT_INTERNAL   100
#define CHECK_ISSPACE()

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 ( )
Value:
if(!epee::misc_utils::parse::isspace(*it)){ ASSERT_MES_AND_THROW("Wrong JSON character at: " << std::string(it, buf_end));}
bool isspace(char c)
Definition parserse_base_utils.h:86

◆ EPEE_JSON_RECURSION_LIMIT_INTERNAL

#define EPEE_JSON_RECURSION_LIMIT_INTERNAL   100

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "serialization"