FJsonSerializerWriter

Implements the abstract serializer interface hiding the underlying writer object

Windows
MacOS
Linux

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

Name Description

Public function

FJsonSerializerWriter

(
    TSharedRef< TJsonWriter< CharType, ...
)

Initializes the writer object

Destructors

Name Description

Public function Virtual

~FJsonSerializerWriter()

Overridden from FJsonSerializerBase

Name Description

Public function Virtual

void

 

EndArray()

Public function Virtual

void

 

EndObject()

Completes the definition of an object "}"

Public function Virtual

TSharedPtr< ...

 

GetObject()

Access to the root object

Public function Virtual Const

bool

 

IsLoading()

Is the JSON being read from

Public function Virtual Const

bool

 

IsSaving()

Is the JSON being written to

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    FDateTime& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    double& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    float& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    FText& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    bool& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    int64& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    FString& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    int32& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    uint32& Value
)

Writes the field name and the corresponding value to the JSON data

Public function Virtual

void

 

SerializeArray

(
    const TCHAR* Name,
    FJsonSerializableArray& Array
)

Serializes an array of values with an identifier

Public function Virtual

void

 

SerializeArray

(
    FJsonSerializableArray& Array
)

Serializes an array of values

Public function Virtual

void

 

SerializeArray

(
    const TCHAR* Name,
    FJsonSerializableArrayInt& Array
)

Serializes an array of values with an identifier

Public function Virtual

void

 

SerializeMap

(
    const TCHAR* Name,
    FJsonSerializableKeyValueMap& Map
)

Serializes the keys & values for map

Public function Virtual

void

 

SerializeMap

(
    const TCHAR* Name,
    FJsonSerializableKeyValueMapInt& M...
)

Serializes the keys & values for map

Public function Virtual

void

 

SerializeMap

(
    const TCHAR* Name,
    FJsonSerializableKeyValueMapInt64&...
)

Serializes the keys & values for map

Public function Virtual

void

 

SerializeMap

(
    const TCHAR* Name,
    FJsonSerializableKeyValueMapFloat&...
)

Serializes the keys & values for map

Public function Virtual

void

 

SerializeMapSafe

(
    const TCHAR* Name,
    FJsonSerializableKeyValueMap& Map
)

Serializes keys and values from an object into a map.

Public function Virtual

void

 

SerializeSimpleMap

Public function Virtual

void

 

StartArray()

Public function Virtual

void

 

StartArray

(
    const FString& Name
)

Public function Virtual

void

 

StartObject()

Starts a new object "{"

Public function Virtual

void

 

StartObject

(
    const FString& Name
)

Starts a new object "{"

Public function Virtual

void

 

WriteIdentifierPrefix

(
    const TCHAR* Name
)

Public function Virtual

void

 

WriteRawJSONValue

(
    const TCHAR* Value
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss