Apache Mesos
Public Member Functions | Public Attributes | List of all members
JSON::Object Struct Reference

#include <json.hpp>

Public Member Functions

 Object ()=default
 
 Object (std::initializer_list< std::pair< const std::string, Value >> values_)
 
template<typename T >
Result< T > find (const std::string &path) const
 
template<typename T >
Result< T > at (const std::string &key) const
 

Public Attributes

std::map< std::string, Valuevalues
 

Constructor & Destructor Documentation

JSON::Object::Object ( )
default
JSON::Object::Object ( std::initializer_list< std::pair< const std::string, Value >>  values_)
inline

Member Function Documentation

template<typename T >
Result< T > JSON::Object::at ( const std::string &  key) const
template<typename T >
Result< T > JSON::Object::find ( const std::string &  path) const

Member Data Documentation

std::map<std::string, Value> JSON::Object::values

The documentation for this struct was generated from the following file: