Update code using FJsonObject to use TCHAR strings instead of ANSI strings. Removes unnecessary string conversions and removes compilation errors when FJsonObject is updated to use FStringViews.

[CL 28536648 by nick edwards in ue5-main branch]
This commit is contained in:
nick edwards
2023-10-06 08:18:42 -04:00
parent adcc57bd80
commit 69726f5ee7
28 changed files with 303 additions and 303 deletions

View File

@@ -880,8 +880,8 @@ public:
TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject<FPIEPreviewDeviceSpecifications>(DeviceSpecs);
// remove IOS and switch fields
JsonObject->RemoveField("IOSProperties");
JsonObject->RemoveField("switchProperties");
JsonObject->RemoveField(TEXT("IOSProperties"));
JsonObject->RemoveField(TEXT("switchProperties"));
// serialize the JSon object to string
FString OutputString;