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

Classes

class  ClassicLocale
 This object changes the current thread's locale to the default "C" locale for number printing purposes. More...
 
struct  LessPrefer
 
struct  Prefer
 
struct  IsSequence
 
struct  HasMappedType
 

Typedefs

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

Functions

Value convert (const picojson::value &value)
 
template<typename F , typename = typename result_of<F(WriterProxy)>::type>
std::function< void(std::ostream *)> jsonify (const F &write, Prefer)
 
template<typename T >
std::function< void(std::ostream *)> jsonify (const T &value, LessPrefer)
 

Typedef Documentation

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

Function Documentation

Value JSON::internal::convert ( const picojson::value &  value)
inline
template<typename F , typename = typename result_of<F(WriterProxy)>::type>
std::function<void(std::ostream*)> JSON::internal::jsonify ( const F &  write,
Prefer   
)
template<typename T >
std::function<void(std::ostream*)> JSON::internal::jsonify ( const T &  value,
LessPrefer   
)