43 void Write(
const UStruct* StructDefinition,
const void* ContainerPtr)
override;
52 return FFileHelper::SaveStringToFile(JsonString, *FileName, FFileHelper::EEncodingOptions::ForceUTF8WithoutBOM);
65 TSharedPtr<FJsonValue> ConvertScalarPropertyToJsonValue(
const FNYProperty* Property,
const void*
const ContainerPtr,
const void*
const ValuePtr);
75 TSharedPtr<FJsonValue> PropertyToJsonValue(
const FNYProperty* Property,
const void*
const ContainerPtr,
const void*
const ValuePtr);
86 bool UStructToJsonAttributes(
const UStruct* StructDefinition,
const void*
const ContainerPtr,
87 TMap<FString, TSharedPtr<FJsonValue>>& OutJsonAttributes);
98 bool UStructToJsonObject(
const UStruct* StructDefinition,
const void*
const ContainerPtr, TSharedRef<FJsonObject>& OutJsonObject)
100 return UStructToJsonAttributes(StructDefinition, ContainerPtr, OutJsonObject->Values);
112 bool UStructToJsonString(
const UStruct* StructDefinition,
const void*
const ContainerPtr,
const DlgJsonWriterOptions& Options,
113 FString& OutJsonString);
117 IndexInArray = INDEX_NONE;
118 bIsPropertyMapKey =
false;
126 static constexpr int64 CheckFlags = ~CPF_ParmFlags;
131 int32 IndexInArray = INDEX_NONE;
134 bool bIsPropertyMapKey =
false;