libwreport 3.43
wreport::json::Dict Class Reference
Inheritance diagram for wreport::json::Dict:
wreport::json::Sequence wreport::json::JSON

Public Member Functions

 Dict (std::stringstream &out)
void add_null (const char *key)
void add_bool (const char *key, bool val)
void add (const char *key, const std::string &val)
void add_unsigned (const char *key, unsigned val)
void add_nullable (const char *key, uint8_t val, uint8_t nullval)
void add_nullable (const char *key, uint16_t val, uint16_t nullval)
Dict add_dict (const char *key)
List add_list (const char *key)
Public Member Functions inherited from wreport::json::Sequence
 JSON (std::stringstream &out)
Public Member Functions inherited from wreport::json::JSON
 JSON (std::stringstream &out)

Additional Inherited Members

Protected Member Functions inherited from wreport::json::Sequence
void maybe_add_comma ()
Protected Member Functions inherited from wreport::json::JSON
void addc (char c)
void adds (const std::string &val)
void addu (unsigned val)
void addq (const std::string &val)
Protected Attributes inherited from wreport::json::Sequence
bool first = true
Protected Attributes inherited from wreport::json::JSON
std::stringstream & out

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