libzypp  15.28.6
zypp::json::String Class Reference

JSON string Force representation as JSON string, mapping e.g. More...

#include <Json.h>

Inheritance diagram for zypp::json::String:

Public Member Functions

 String ()
 
 String (std::nullptr_t)
 
 String (const char val_r)
 
 String (const char *val_r)
 
 String (const std::string &val_r)
 
- Public Member Functions inherited from zypp::json::Value
 Value ()
 Default ctor (null) More...
 
 Value (const Value &rhs)
 Copy ctor. More...
 
template<class T >
 Value (const T &val_r)
 Ctor creating a JSON representation of T via toJSON(T) More...
 
const std::string & asJSON () const
 JSON representation. More...
 
const std::string & asString () const
 String representation. More...
 
std::ostream & dumpOn (std::ostream &str) const
 Stream output. More...
 

Additional Inherited Members

Detailed Description

JSON string Force representation as JSON string, mapping e.g.

null values to an empty string. Maninly used in Object as key.

Definition at line 242 of file Json.h.

Constructor & Destructor Documentation

zypp::json::String::String ( )
inline

Definition at line 244 of file Json.h.

zypp::json::String::String ( std::nullptr_t  )
inline

Definition at line 245 of file Json.h.

zypp::json::String::String ( const char  val_r)
inline

Definition at line 247 of file Json.h.

zypp::json::String::String ( const char *  val_r)
inline

Definition at line 248 of file Json.h.

zypp::json::String::String ( const std::string &  val_r)
inline

Definition at line 249 of file Json.h.


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