Navigation
API > API/Runtime > API/Runtime/Json
Description
Attempts to parse an enum from a string with a specified name
Returns the value, if found and matches the type explicitly
| Name | UE::Json::GetEnumField |
| Type | function |
| Header File | /Engine/Source/Runtime/Json/Public/JsonUtils/RapidJsonUtils.h |
| Include Path | #include "JsonUtils/RapidJsonUtils.h" |
namespace UE
{
namespace Json
{
template<typename TEnum>
TOptional < TEnum > UE::Json::GetEnumField
(
FConstObject Object,
const TCHAR * FieldName
)
}
}