FJsonSerializable::ToJson

Serializes this object to its JSON string form

Windows
MacOS
Linux

References

Module

Json

Header

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

Include

#include "Serialization/JsonSerializerMacros.h"

Syntax

virtual const FString ToJson
(
    bool bPrettyPrint
)

Remarks

Serializes this object to its JSON string form

Returns

the corresponding json string

Parameters

Parameter

Description

bPrettyPrint

If true, will use the pretty json formatter

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