UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FJsonObjectWrapper Struct Reference

#include <JsonObjectWrapper.h>

Public Member Functions

JSONUTILITIES_API FJsonObjectWrapper ()
 
JSONUTILITIES_API bool ImportTextItem (const TCHAR *&Buffer, int32 PortFlags, UObject *Parent, FOutputDevice *ErrorText)
 
JSONUTILITIES_API bool ExportTextItem (FString &ValueStr, FJsonObjectWrapper const &DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const
 
JSONUTILITIES_API void PostSerialize (const FArchive &Ar)
 
JSONUTILITIES_API operator bool () const
 
JSONUTILITIES_API bool JsonObjectToString (FString &Str) const
 
JSONUTILITIES_API bool JsonObjectFromString (const FString &Str)
 
JSONUTILITIES_API SIZE_T GetAllocatedSize () const
 

Public Attributes

FString JsonString
 
TSharedPtr< FJsonObjectJsonObject
 

Detailed Description

UStruct that holds a JsonObject, can be used by structs passed to JsonObjectConverter to pass through JsonObjects directly

Constructor & Destructor Documentation

◆ FJsonObjectWrapper()

FJsonObjectWrapper::FJsonObjectWrapper ( )

Member Function Documentation

◆ ExportTextItem()

bool FJsonObjectWrapper::ExportTextItem ( FString &  ValueStr,
FJsonObjectWrapper const &  DefaultValue,
UObject Parent,
int32  PortFlags,
UObject ExportRootScope 
) const

◆ GetAllocatedSize()

SIZE_T FJsonObjectWrapper::GetAllocatedSize ( ) const

Returns the memory allocated by this object in Bytes, should NOT include sizeof(*this).

◆ ImportTextItem()

bool FJsonObjectWrapper::ImportTextItem ( const TCHAR *&  Buffer,
int32  PortFlags,
UObject Parent,
FOutputDevice ErrorText 
)

◆ JsonObjectFromString()

bool FJsonObjectWrapper::JsonObjectFromString ( const FString &  Str)

◆ JsonObjectToString()

bool FJsonObjectWrapper::JsonObjectToString ( FString &  Str) const

◆ operator bool()

FJsonObjectWrapper::operator bool ( ) const
explicit

◆ PostSerialize()

void FJsonObjectWrapper::PostSerialize ( const FArchive Ar)

Member Data Documentation

◆ JsonObject

TSharedPtr<FJsonObject> FJsonObjectWrapper::JsonObject

◆ JsonString

FString FJsonObjectWrapper::JsonString

The documentation for this struct was generated from the following files: