|
Stream Chat Unreal SDK
|
Conversion to and from dynamic JSON objects. More...
Functions | |
| STREAMJSON_API TSharedRef< FJsonObject > | UStructToJsonObject (const UStruct *StructDefinition, const void *Struct, ENamingConvention NamingConvention=ENamingConvention::SnakeCase) |
| Converts from a UStruct to a Json Object. More... | |
| template<class T > | |
| TSharedRef< FJsonObject > | UStructToJsonObject (const T &Struct, ENamingConvention NamingConvention=ENamingConvention::SnakeCase) |
| Converts from a UStruct to a Json Object. More... | |
| FString STREAMJSON_API | JsonObjectToString (const TSharedRef< FJsonObject > &JsonObject) |
Conversion to and from dynamic JSON objects.
| TSharedRef< FJsonObject > JsonObject::UStructToJsonObject | ( | const T & | Struct, |
| ENamingConvention | NamingConvention = ENamingConvention::SnakeCase |
||
| ) |
Converts from a UStruct to a Json Object.
| Struct | The UStruct instance to copy out of |
| NamingConvention | JSON keys and values will be formatted according to this naming convention |
| TSharedRef< FJsonObject > JsonObject::UStructToJsonObject | ( | const UStruct * | StructDefinition, |
| const void * | Struct, | ||
| ENamingConvention | NamingConvention = ENamingConvention::SnakeCase |
||
| ) |
Converts from a UStruct to a Json Object.
| StructDefinition | UStruct definition that is looked over for properties |
| Struct | The UStruct instance to copy out of |
| NamingConvention | JSON keys and values will be formatted according to this naming convention |