FJsonObject::HasTypedField

Checks whether a field with the specified name and type 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

template<EJson JsonType>
bool HasTypedField
(
    const FString & FieldName
) const

Remarks

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

Returns

true if the field exists, false otherwise.

Parameters

Parameter

Description

JsonType

The type of the field to check.

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