BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Macros | Functions
json.cpp File Reference
#include <fc/io/json.hpp>
#include <fc/exception/exception.hpp>
#include <fc/io/iostream.hpp>
#include <fc/io/buffered_iostream.hpp>
#include <fc/io/fstream.hpp>
#include <fc/io/sstream.hpp>
#include <fc/log/logger.hpp>
#include <cstdint>
#include <iostream>
#include <fstream>
#include <sstream>
#include <boost/filesystem/fstream.hpp>
#include <fc/io/json_relaxed.hpp>

Go to the source code of this file.

Namespaces

 fc
 

Macros

#define FALLTHROUGH
 

Functions

template<typename T , json::parse_type parser_type>
variant fc::variant_from_stream (T &in, uint32_t max_depth)
 
template<typename T >
char fc::parseEscape (T &in)
 
template<typename T >
std::string fc::stringFromStream (T &in)
 
template<typename T >
bool fc::skip_white_space (T &in)
 
template<typename T >
std::string fc::stringFromToken (T &in)
 
template<typename T >
variant_object fc::objectFromStreamBase (T &in, std::function< std::string(T &)> &get_key, std::function< variant(T &)> &get_value)
 
template<typename T , json::parse_type parser_type>
variant_object fc::objectFromStream (T &in, uint32_t max_depth)
 
template<typename T >
variants fc::arrayFromStreamBase (T &in, std::function< variant(T &)> &get_value)
 
template<typename T , json::parse_type parser_type>
variants fc::arrayFromStream (T &in, uint32_t max_depth)
 
template<typename T , json::parse_type parser_type>
variant fc::number_from_stream (T &in)
 
template<typename T >
variant fc::token_from_stream (T &in)
 
void fc::escape_string (const string &str, ostream &os)
 Escape a string. More...
 
template<typename T >
void fc::to_stream (T &os, const variants &a, json::output_formatting format, uint32_t max_depth)
 
template<typename T >
void fc::to_stream (T &os, const variant_object &o, json::output_formatting format, uint32_t max_depth)
 
template<typename T >
void fc::to_stream (T &os, const variant &v, json::output_formatting format, uint32_t max_depth)
 
std::string fc::pretty_print (const std::string &v, uint8_t indent)
 

Macro Definition Documentation

◆ FALLTHROUGH

#define FALLTHROUGH

Definition at line 39 of file json.cpp.