libzypp 17.36.7

Classes | Namespaces | Functions
Json.h File Reference
`#include <iosfwd>`
`#include <string>`
`#include <vector>`
`#include <list>`
`#include <set>`
`#include <map>`
`#include <zypp/base/Easy.h>`
`#include <zypp/base/String.h>`

Go to the source code of this file.

## Classes
class | zypp::json::Value
| JSON representation of datatypes via toJSON. More...
class | zypp::json::String
| JSON string Force representation as JSON string, mapping e.g. More...
class | zypp::json::Array
| JSON array. More...
class | zypp::json::Object
| JSON object. More...

## Namespaces
namespace | zypp
| Easy-to use interface to the ZYPP dependency resolver.
namespace | zypp::json
namespace | zypp::json::detail

## Functions
static const std::string & | zypp::json::nullJSON ()
static const std::string & | zypp::json::trueJSON ()
static const std::string & | zypp::json::falseJSON ()
std::string | zypp::json::detail::strEncode (std::string val_r)
std::string | zypp::json::toJSON (void)
std::string | zypp::json::toJSON (std::nullptr_t)
std::string | zypp::json::toJSON (bool val_r)
std::string | zypp::json::toJSON (const void *val_r)
std::string | zypp::json::toJSON (short val_r)
std::string | zypp::json::toJSON (unsigned short val_r)
std::string | zypp::json::toJSON (int val_r)
std::string | zypp::json::toJSON (unsigned val_r)
std::string | zypp::json::toJSON (long val_r)
std::string | zypp::json::toJSON (unsigned long val_r)
std::string | zypp::json::toJSON (long long val_r)
std::string | zypp::json::toJSON (unsigned long long val_r)
std::string | zypp::json::toJSON (const char val_r)
std::string | zypp::json::toJSON (const char *val_r)
std::string | zypp::json::toJSON (const std::string &val_r)
template<class V>
std::string | zypp::json::toJSON (const std::vector< V > &cont_r)
template<class V>
std::string | zypp::json::toJSON (const std::list< V > &cont_r)
template<class V>
std::string | zypp::json::toJSON (const std::set< V > &cont_r)
template<class K, class V>
std::string | zypp::json::toJSON (const std::map< K, V > &cont_r)
template<class T>
std::string | zypp::json::toJSON (const T &val_r)
| Type to JSON string representation.