FJsonObject::SetField

Sets the value of the field with the specified name.

Choose your operating system:

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.