FJsonObject::SetField

Sets the value of the field with the specified name.

Windows
MacOS
Linux

References

Module

Json

Header

/Engine/Source/Runtime/Json/Public/Dom/JsonObject.h

Include

#include "Dom/JsonObject.h"

Source

/Engine/Source/Runtime/Json/Private/Dom/JsonObject.cpp

Syntax

void SetField
(
    const FString & FieldName,
    const TSharedPtr< FJsonValue > & Value
)

Remarks

Sets the value of the field with the specified name.

Parameters

Parameter

Description

FieldName

The name of the field to set.

Value

The value to set.

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