Apache Mesos
Classes | Typedefs | Functions | Variables
JSON::internal Namespace Reference

Classes

struct  HasMappedType
 
struct  IsSequence
 
struct  LessPrefer
 
class  ParseContext
 
struct  Prefer
 

Typedefs

typedef boost::variant< Null, String, Number, boost::recursive_wrapper< Object >, boost::recursive_wrapper< Array >, BooleanVariant
 

Functions

template<typename F , typename = typename result_of<F(WriterProxy)>::type>
std::function< void(rapidjson::Writer< rapidjson::StringBuffer > *)> jsonify (const F &write, Prefer)
 
template<typename T >
std::function< void(rapidjson::Writer< rapidjson::StringBuffer > *)> jsonify (const T &value, LessPrefer)
 

Variables

constexpr size_t STOUT_JSON_MAX_DEPTH = 200
 

Typedef Documentation

typedef boost::variant<Null, String, Number, boost::recursive_wrapper<Object>, boost::recursive_wrapper<Array>, Boolean> JSON::internal::Variant

Function Documentation

template<typename F , typename = typename result_of<F(WriterProxy)>::type>
std::function<void(rapidjson::Writer<rapidjson::StringBuffer>*)> JSON::internal::jsonify ( const F &  write,
Prefer   
)
template<typename T >
std::function<void(rapidjson::Writer<rapidjson::StringBuffer>*)> JSON::internal::jsonify ( const T &  value,
LessPrefer   
)

Variable Documentation

constexpr size_t JSON::internal::STOUT_JSON_MAX_DEPTH = 200