Chatterino
Functions
chatterino::rj Namespace Reference

Functions

void addMember (rapidjson::Value &obj, const char *key, rapidjson::Value &&value, rapidjson::Document::AllocatorType &a)
 
void addMember (rapidjson::Value &obj, const char *key, rapidjson::Value &value, rapidjson::Document::AllocatorType &a)
 
QString stringify (const rapidjson::Value &value)
 
bool getSafeObject (rapidjson::Value &obj, const char *key, rapidjson::Value &out)
 
bool checkJsonValue (const rapidjson::Value &obj, const char *key)
 
template<typename Type >
void set (rapidjson::Value &obj, const char *key, const Type &value, rapidjson::Document::AllocatorType &a)
 
template<>
void set (rapidjson::Value &obj, const char *key, const rapidjson::Value &value, rapidjson::Document::AllocatorType &a)
 
template<typename Type >
void set (rapidjson::Document &obj, const char *key, const Type &value)
 
template<>
void set (rapidjson::Document &obj, const char *key, const rapidjson::Value &value)
 
template<typename Type >
void add (rapidjson::Value &arr, const Type &value, rapidjson::Document::AllocatorType &a)
 
template<typename Type >
bool getSafe (const rapidjson::Value &obj, const char *key, Type &out)
 
template<typename Type >
bool getSafe (const rapidjson::Value &value, Type &out)
 

Function Documentation

◆ add()

template<typename Type >
void chatterino::rj::add ( rapidjson::Value &  arr,
const Type &  value,
rapidjson::Document::AllocatorType &  a 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addMember() [1/2]

void chatterino::rj::addMember ( rapidjson::Value &  obj,
const char *  key,
rapidjson::Value &&  value,
rapidjson::Document::AllocatorType &  a 
)
Here is the caller graph for this function:

◆ addMember() [2/2]

void chatterino::rj::addMember ( rapidjson::Value &  obj,
const char *  key,
rapidjson::Value &  value,
rapidjson::Document::AllocatorType &  a 
)

◆ checkJsonValue()

bool chatterino::rj::checkJsonValue ( const rapidjson::Value &  obj,
const char *  key 
)
Here is the caller graph for this function:

◆ getSafe() [1/2]

template<typename Type >
bool chatterino::rj::getSafe ( const rapidjson::Value &  obj,
const char *  key,
Type &  out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSafe() [2/2]

template<typename Type >
bool chatterino::rj::getSafe ( const rapidjson::Value &  value,
Type &  out 
)
Here is the call graph for this function:

◆ getSafeObject()

bool chatterino::rj::getSafeObject ( rapidjson::Value &  obj,
const char *  key,
rapidjson::Value &  out 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [1/4]

template<typename Type >
void chatterino::rj::set ( rapidjson::Value &  obj,
const char *  key,
const Type &  value,
rapidjson::Document::AllocatorType &  a 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [2/4]

template<>
void chatterino::rj::set ( rapidjson::Value &  obj,
const char *  key,
const rapidjson::Value &  value,
rapidjson::Document::AllocatorType &  a 
)
inline
Here is the call graph for this function:

◆ set() [3/4]

template<typename Type >
void chatterino::rj::set ( rapidjson::Document &  obj,
const char *  key,
const Type &  value 
)
Here is the call graph for this function:

◆ set() [4/4]

template<>
void chatterino::rj::set ( rapidjson::Document &  obj,
const char *  key,
const rapidjson::Value &  value 
)
inline
Here is the call graph for this function:

◆ stringify()

QString chatterino::rj::stringify ( const rapidjson::Value &  value)
Here is the caller graph for this function: