libzypp 17.31.23
|
Namespaces | |
namespace | detail |
Classes | |
class | Array |
JSON array. More... | |
class | Object |
JSON object. More... | |
class | String |
JSON string Force representation as JSON string, mapping e.g. More... | |
class | Value |
JSON representation of datatypes via toJSON. More... | |
Functions | |
static const std::string & | nullJSON () |
static const std::string & | trueJSON () |
static const std::string & | falseJSON () |
std::string | toJSON (void) |
std::string | toJSON (std::nullptr_t) |
std::string | toJSON (bool val_r) |
std::string | toJSON (const void *val_r) |
std::string | toJSON (short val_r) |
std::string | toJSON (unsigned short val_r) |
std::string | toJSON (int val_r) |
std::string | toJSON (unsigned val_r) |
std::string | toJSON (long val_r) |
std::string | toJSON (unsigned long val_r) |
std::string | toJSON (long long val_r) |
std::string | toJSON (unsigned long long val_r) |
std::string | toJSON (const char val_r) |
std::string | toJSON (const char *val_r) |
std::string | toJSON (const std::string &val_r) |
template<class V > | |
std::string | toJSON (const std::vector< V > &cont_r) |
template<class V > | |
std::string | toJSON (const std::list< V > &cont_r) |
template<class V > | |
std::string | toJSON (const std::set< V > &cont_r) |
template<class K , class V > | |
std::string | toJSON (const std::map< K, V > &cont_r) |
template<class T > | |
std::string | toJSON (const T &val_r) |
Type to JSON string representation. | |
template<> | |
std::string | toJSON (const ZYppCommitResult::TransactionStepList &steps_r) |
template<> | |
std::string | toJSON (const sat::Transaction::Step &step_r) |
See COMMITBEGIN (added in v1) on page Commit plugin for the specs. | |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
std::string zypp::json::toJSON | ( | const std::vector< V > & | cont_r | ) |
std::string zypp::json::toJSON | ( | const std::list< V > & | cont_r | ) |
std::string zypp::json::toJSON | ( | const std::set< V > & | cont_r | ) |
std::string zypp::json::toJSON | ( | const std::map< K, V > & | cont_r | ) |
std::string zypp::json::toJSON | ( | const T & | val_r | ) |
Type to JSON string representation.
This can be implemented as non-static memberfunction asJSON
, or as non-memberfunction toJSON
;
|
inline |
Definition at line 143 of file TargetImpl.cc.
|
inline |
See COMMITBEGIN (added in v1) on page Commit plugin for the specs.
Definition at line 158 of file TargetImpl.cc.