Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/Serialization
Inheritance Hierarchy
- FJsonSerializable
- FContentBuildMetaData
- FJsonDataBag
- FNullReplayInfo
- FPersistentStatsBase
- FBundlePersistentStats
- FSessionPersistentStats
- FPersistentTimerData
- FPurchaseReceipt
- FPurchaseReceipt::FLineItemInfo
- FPurchaseReceipt::FReceiptOfferEntry
- FReplayEventList
- FReplayEventListItem
References
| Module | Json |
| Header | /Engine/Source/Runtime/Json/Public/Serialization/JsonSerializerMacros.h |
| Include | #include "Serialization/JsonSerializerMacros.h" |
Syntax
struct FJsonSerializable
Remarks
Base class for a JSON serializable object
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtualize destructor as we provide overridable functions |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Serializes the contents of a JSON string into this object | ||
| bool | Serializes the contents of a JSON string into this object | ||
| bool | FromJson
(
TSharedPtr< FJsonObject > JsonObject |
||
| void | Serialize
(
FJsonSerializerBase& Serializer, |
Abstract method that needs to be supplied using the macros | |
| const FString | ToJson
(
bool bPrettyPrint |
Used to allow serialization of a const ref | |
| const FString | ToJson
(
bool bPrettyPrint |
Serializes this object to its JSON string form | |
| void | ToJson
(
TSharedRef< TJsonWriter<> >& JsonWriter, |
||
| void | ToJson
(
TSharedRef< TJsonWriter< TCHAR, TCondensedJsonPrintPolicy< TCHAR > > >& JsonWriter, |