Hello!
USTRUCT()
struct FDurationInfoSum
{
GENERATED_BODY()
UPROPERTY()
double sum;
UPROPERTY()
DurationTypeInfo durationInfoType;
};
When i try to load JSON file to USTRUCT
with function
FJsonObjectConverter::JsonObjectToUStruct
parser show errors:
Unable to import JSON string into DurationInfoSum property
Is there a way to overload the operator or constructor of the FDurationInfoSum structure so
that structures can be set as a string in a JSON file?
In C#, this is done via
public static explicit operator DurationInfoSum(String obj)