FJsonObject::HasField

Checks whether a field with the specified name exists in the object.

Windows
MacOS
Linux

References

Module

Json

Header

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

Include

#include "Dom/JsonObject.h"

Syntax

bool HasField
(
    const FString & FieldName
) const

Remarks

Checks whether a field with the specified name exists in the object.

Returns

true if the field exists, false otherwise.

Parameters

Parameter

Description

FieldName

The name of the field to check.

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