FStructSerializer::Serialize

Serializes a given USTRUCT to a string using the default 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
)

Remarks

Serializes a given USTRUCT to a string using the default 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.

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