FJsonObject::TryGetField

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

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.