FJsonObject::TryGetEnumArrayField

Get the field named FieldName as an array of enums.

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<typename TEnum>
bool TryGetEnumArrayField
(
    const FString & FieldName,
    TArray< TEnum > & OutArray
) const

Remarks

Get the field named FieldName as an array of enums. Returns false if it doesn't exist or any member is not a string.