Stream Chat Unreal SDK
Loading...
Searching...
No Matches
JsonField Namespace Reference

Custom serialization and deserialization for types which aren't supported by UPROPERTY (e.g. TOptional) More...

Functions

template<class T >
void Serialize (const TOptional< T > &Field, const FString &FieldName, FJsonObject &JsonObject)
 
template<>
void STREAMJSON_API Serialize (const TOptional< uint32 > &Field, const FString &FieldName, FJsonObject &)
 
template<>
void STREAMJSON_API Serialize (const TOptional< FString > &Field, const FString &FieldName, FJsonObject &)
 
template<>
void STREAMJSON_API Serialize (const TOptional< FDateTime > &Field, const FString &FieldName, FJsonObject &)
 
template<class T >
void Deserialize (const FJsonObject &JsonObject, const FString &FieldName, TOptional< T > &Field)
 
template<>
void STREAMJSON_API Deserialize< uint32 > (const FJsonObject &JsonObject, const FString &FieldName, TOptional< uint32 > &Field)
 
template<>
void STREAMJSON_API Deserialize< FDateTime > (const FJsonObject &JsonObject, const FString &FieldName, TOptional< FDateTime > &Field)
 

Detailed Description

Custom serialization and deserialization for types which aren't supported by UPROPERTY (e.g. TOptional)