FJsonObject::HasTypedField

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

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

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.