|
Twitch SDK (Internal)
|
#include <jsonserialization.h>
Public Member Functions | |
| JsonField (const std::array< const char *, ArraySize > &keyPath, ValueType &object) | |
| bool | Parse (const ttv::json::Value &parent) |
| bool | Emit (ttv::json::Value &parent) |
Static Public Attributes | |
| static constexpr bool | IsRequired = RequiredType::IsRequired |
Private Member Functions | |
| template<int index> | |
| std::enable_if_t<(index< ArraySize - 1), bool > | ParseHelper (const ttv::json::Value &parent) |
| template<int index> | |
| std::enable_if_t<(index==ArraySize - 1), bool > | ParseHelper (const ttv::json::Value &parent) |
| template<int index> | |
| std::enable_if_t<(index< ArraySize - 1), bool > | EmitHelper (ttv::json::Value &parent) |
| template<int index> | |
| std::enable_if_t<(index==ArraySize - 1), bool > | EmitHelper (ttv::json::Value &parent) |
Private Attributes | |
| std::array< const char *, ArraySize > | mKeyPath |
| ValueType & | mValue |
A class used by the object schema to map between JSON fields and C++ fields. Instantiating these objects directly is not recommended, use the make_field functions documented below.
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
static |
|
private |
|
private |
1.8.13