I can’t comment answers on my question, so I post comment as answer for you, Steve Robb.
My case is serialization exception where I serializing specific struct with TArray field.
I need to get this field as TArray:
// This struct is FMyStruct?
if (StructStructure->GetName() == GetNameSafe(FMyStruct::StaticStruct())
{
// And then find field "Data" in this struct
if ( UProperty* field = FindField<UProperty>(StructStructure, "Data") )
{
// This is TArray<uint8>, I need to cast to property value to TArray:
const FScriptArray& script_value = field->GetPropertyValue_InContainer(StructData);
...
}
}