FJsonSerializerReader

Implements the abstract serializer interface hiding the underlying reader object

Windows
MacOS
Linux

Inheritance Hierarchy

FJsonSerializerBase

FJsonSerializerReader

References

Module

Json

Header

/Engine/Source/Runtime/Json/Public/Serialization/JsonSerializerMacros.h

Include

#include "Serialization/JsonSerializerMacros.h"

Syntax

class FJsonSerializerReader : public FJsonSerializerBase

Remarks

Implements the abstract serializer interface hiding the underlying reader object

Constructors

Name Description

Public function

FJsonSerializerReader

(
    TSharedPtr< FJsonObject > InJsonObj...
)

Inits the base JSON object that is being read from

Destructors

Name Description

Public function Virtual

~FJsonSerializerReader()

Overridden from FJsonSerializerBase

Name Description

Public function Virtual

void

 

EndArray()

Ignored

Public function Virtual

void

 

EndObject()

Ignored

Public function Virtual

TSharedPtr< ...

 

GetObject()

Access to the root Json object being read

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
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    float& Value
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    FText& Value
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    bool& Value
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    int64& Value
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    FString& Value
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    int32& Value
)

If the underlying json object has the field, it is read into the value

Public function Virtual

void

 

Serialize

(
    const TCHAR* Name,
    uint32& Value
)

If the underlying json object has the field, it is read into the value

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
)

Deserializes keys and values from an object into a map, but only if the value is trivially convertable to string.

Public function Virtual

void

 

SerializeSimpleMap

Public function Virtual

void

 

StartArray()

Ignored

Public function Virtual

void

 

StartArray

(
    const FString& Name
)

Ignored

Public function Virtual

void

 

StartObject()

Ignored

Public function Virtual

void

 

StartObject

(
    const FString& Name
)

Ignored

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