Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/Serialization
Inheritance Hierarchy
- FJsonSerializerBase
- FJsonSerializerWriter
References
| Module | Json |
| Header | /Engine/Source/Runtime/Json/Public/Serialization/JsonSerializerMacros.h |
| Include | #include "Serialization/JsonSerializerMacros.h" |
Syntax
template<class CharType, class PrintPolicy>
class FJsonSerializerWriter : public FJsonSerializerBase
Remarks
Implements the abstract serializer interface hiding the underlying writer object
Constructors
| Type | Name | Description | |
|---|---|---|---|
FJsonSerializerWriter
(
TSharedRef< TJsonWriter< CharType, PrintPolicy > > InJsonWriter |
Initializes the writer object |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FJsonSerializerBase
| Type | Name | Description | |
|---|---|---|---|
| void | EndArray () |
||
| void | EndObject () |
Completes the definition of an object "}" | |
| TSharedPtr< FJsonObject > | GetObject () |
Access to the root object | |
| bool | IsLoading () |
Is the JSON being read from | |
| bool | IsSaving () |
Is the JSON being written to | |
| void | Writes the field name and the corresponding value to the JSON data | ||
| void | Serialize
(
const TCHAR* Name, |
Writes the field name and the corresponding value to the JSON data | |
| void | Serialize
(
const TCHAR* Name, |
Writes the field name and the corresponding value to the JSON data | |
| void | Writes the field name and the corresponding value to the JSON data | ||
| void | Serialize
(
const TCHAR* Name, |
Writes the field name and the corresponding value to the JSON data | |
| void | Serialize
(
const TCHAR* Name, |
Writes the field name and the corresponding value to the JSON data | |
| void | Writes the field name and the corresponding value to the JSON data | ||
| void | Serialize
(
const TCHAR* Name, |
Writes the field name and the corresponding value to the JSON data | |
| void | Serialize
(
const TCHAR* Name, |
Writes the field name and the corresponding value to the JSON data | |
| void | SerializeArray
(
const TCHAR* Name, |
Serializes an array of values with an identifier | |
| void | SerializeArray
(
const TCHAR* Name, |
Serializes an array of values with an identifier | |
| void | SerializeArray
(
FJsonSerializableArray& Array |
Serializes an array of values | |
| void | SerializeArray
(
const TCHAR* Name, |
Serializes an array of values with an identifier | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMap
(
const TCHAR* Name, |
Serializes the keys & values for map | |
| void | SerializeMapSafe
(
const TCHAR* Name, |
Serializes keys and values from an object into a map. | |
| void | SerializeSimpleMap
(
FJsonSerializableKeyValueMap& Map |
||
| void | StartArray () |
||
| void | StartArray
(
const FString& Name |
||
| void | StartObject () |
Starts a new object "{" | |
| void | StartObject
(
const FString& Name |
Starts a new object "{" | |
| void | WriteIdentifierPrefix
(
const TCHAR* Name |
||
| void | WriteRawJSONValue
(
const TCHAR* Value |