FStructSerializer::Serialize

Serializes a given USTRUCT to a string using the specified policy.

Windows
MacOS
Linux

References

Module

Serialization

Header

/Engine/Source/Runtime/Serialization/Public/StructSerializer.h

Include

#include "StructSerializer.h"

Syntax

template<typename StructType>
static void Serialize
(
    const StructType & Struct,
    IStructSerializerBackend & Backend,
    const FStructSerializerPolicies & Policies
)

Remarks

Serializes a given USTRUCT to a string using the specified policy.

Returns

A string holding the serialized object.

Parameters

Parameter

Description

StructType

The type of the struct to serialize.

Struct

The struct to serialize.

Backend

The serialization backend to use.

Policies

The serialization policies to use.

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