BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Functions
fc::json_relaxed Namespace Reference

Classes

struct  CharValueTable
 

Functions

template<typename T , bool strict>
variant variant_from_stream (T &in, uint32_t max_depth)
 
template<typename T >
std::string tokenFromStream (T &in)
 
template<typename T , bool strict, bool allow_escape>
std::string quoteStringFromStream (T &in)
 
template<typename T , bool strict>
std::string stringFromStream (T &in)
 
template<uint8_t base>
fc::variant parseInt (const std::string &token, size_t start)
 
template<bool strict, uint8_t base>
fc::variant maybeParseInt (const std::string &token, size_t start)
 
template<bool strict>
fc::variant parseNumberOrStr (const std::string &token)
 
template<typename T , bool strict>
variant_object objectFromStream (T &in, uint32_t max_depth)
 
template<typename T , bool strict>
variants arrayFromStream (T &in, uint32_t max_depth)
 
template<typename T , bool strict>
variant numberFromStream (T &in)
 
template<typename T , bool strict>
variant wordFromStream (T &in)
 

Function Documentation

template<typename T , bool strict>
variants fc::json_relaxed::arrayFromStream ( T &  in,
uint32_t  max_depth 
)

Definition at line 581 of file json_relaxed.hpp.

template<bool strict, uint8_t base>
fc::variant fc::json_relaxed::maybeParseInt ( const std::string &  token,
size_t  start 
)

Definition at line 338 of file json_relaxed.hpp.

template<typename T , bool strict>
variant fc::json_relaxed::numberFromStream ( T &  in)

Definition at line 588 of file json_relaxed.hpp.

template<typename T , bool strict>
variant_object fc::json_relaxed::objectFromStream ( T &  in,
uint32_t  max_depth 
)

Definition at line 573 of file json_relaxed.hpp.

template<uint8_t base>
fc::variant fc::json_relaxed::parseInt ( const std::string &  token,
size_t  start 
)

Definition at line 296 of file json_relaxed.hpp.

template<bool strict>
fc::variant fc::json_relaxed::parseNumberOrStr ( const std::string &  token)

Definition at line 354 of file json_relaxed.hpp.

template<typename T , bool strict, bool allow_escape>
std::string fc::json_relaxed::quoteStringFromStream ( T &  in)

Definition at line 83 of file json_relaxed.hpp.

template<typename T , bool strict>
std::string fc::json_relaxed::stringFromStream ( T &  in)

Definition at line 188 of file json_relaxed.hpp.

template<typename T >
std::string fc::json_relaxed::tokenFromStream ( T &  in)

Definition at line 26 of file json_relaxed.hpp.

template<typename T , bool strict>
variant fc::json_relaxed::variant_from_stream ( T &  in,
uint32_t  max_depth 
)

Definition at line 629 of file json_relaxed.hpp.

template<typename T , bool strict>
variant fc::json_relaxed::wordFromStream ( T &  in)

Definition at line 598 of file json_relaxed.hpp.