Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/FJsonSerializable
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Used to allow serialization of a const ref | Serialization/JsonSerializable.h | ||
| Serializes this object to its JSON string form | Serialization/JsonSerializable.h | ||
void ToJson
(
TSharedRef< TJsonWriter< CharType, PrintPolicy >, SPMode > JsonWriter, |
Serializes this object with a Json Writer | Serialization/JsonSerializable.h |
ToJson(bool)
Description
Used to allow serialization of a const ref
| Name | ToJson |
| Type | function |
| Header File | /Engine/Source/Runtime/Json/Public/Serialization/JsonSerializable.h |
| Include Path | #include "Serialization/JsonSerializable.h" |
| Source | /Engine/Source/Runtime/Json/Private/Serialization/JsonSerializable.cpp |
const FString ToJson
(
bool bPrettyPrint
) const
the corresponding json string
ToJson(bool)
Description
Serializes this object to its JSON string form
| Name | ToJson |
| Type | function |
| Header File | /Engine/Source/Runtime/Json/Public/Serialization/JsonSerializable.h |
| Include Path | #include "Serialization/JsonSerializable.h" |
| Source | /Engine/Source/Runtime/Json/Private/Serialization/JsonSerializable.cpp |
virtual const FString ToJson
(
bool bPrettyPrint
)
the corresponding json string
Parameters
| Name | Remarks |
|---|---|
| bPrettyPrint | If true, will use the pretty json formatter |
ToJson(TSharedRef< TJsonWriter< CharType, PrintPolicy >, SPMode >, bool)
Description
Serializes this object with a Json Writer
| Name | ToJson |
| Type | function |
| Header File | /Engine/Source/Runtime/Json/Public/Serialization/JsonSerializable.h |
| Include Path | #include "Serialization/JsonSerializable.h" |
template<class CharType, class PrintPolicy, ESPMode SPMode>
void ToJson
(
TSharedRef < TJsonWriter < CharType, PrintPolicy >, SPMode > JsonWriter,
bool bFlatObject
) const
Parameters
| Name | Remarks |
|---|---|
| JsonWriter | The writer to use |
| bFlatObject | if true then no object wrapper is used |