FJsonObject::TryGetEnumArrayField

Get the field named FieldName as an array of enums.

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.

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