FJsonObject::HasField

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

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.