FJsonObject::TryGetField

Attempts to get 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"

Syntax

TSharedPtr< FJsonValue > TryGetField
(
    const FString & FieldName
) const

Remarks

Attempts to get the field with the specified name.

Returns

A pointer to the field, or nullptr if the field doesn't exist.

Parameters

Parameter

Description

FieldName

The name of the field to get.

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