FVariantData::FromJsonValue

Convert json object to variant data from Name_

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineKeyValuePair.h

Include

#include "OnlineKeyValuePair.h"

Source

/Engine/Plugins/Online/OnlineSubsystem/Source/Private/OnlineKeyValuePair.cpp

Syntax

bool FromJsonValue
(
    const FString & Name,
    const TSharedRef< class FJsonValue > & JsonValue,
    FString & OutName
)

Remarks

Convert json object to variant data from Name_

Returns

true if conversion was successful

Parameters

Parameter

Description

Name

name of json field that includes the type suffix

JsonValue

json value to convert from

OutName

returns the name with the type suffix stripped

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