Replaced AzFramework::FileFunc JSON utils API calls with AzCore::JsonUtils APIs that appear to have been duplicated. Also fixed up improper Project Configurator -> Project Manager comment replacements.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#include <AzCore/IO/Path/Path.h>
|
||||
#include <AzCore/JSON/schema.h>
|
||||
#include <AzCore/JSON/prettywriter.h>
|
||||
#include <AzCore/Serialization/Json/JsonUtils.h>
|
||||
#include <AzCore/Settings/SettingsRegistry.h>
|
||||
#include <AzCore/Settings/SettingsRegistryImpl.h>
|
||||
#include <AzFramework/FileFunc/FileFunc.h>
|
||||
#include <AzFramework/StringFunc/StringFunc.h>
|
||||
|
||||
#include <AWSCoreInternalBus.h>
|
||||
@@ -211,8 +211,7 @@ namespace AWSCore
|
||||
}
|
||||
|
||||
AzFramework::StringFunc::Path::Normalize(configJsonPath);
|
||||
AZ::IO::Path configJsonFileIOPath(configJsonPath);
|
||||
auto readJsonOutcome = AzFramework::FileFunc::ReadJsonFile(configJsonFileIOPath);
|
||||
auto readJsonOutcome = AZ::JsonSerializationUtils::ReadJsonFile(configJsonPath);
|
||||
if (readJsonOutcome.IsSuccess())
|
||||
{
|
||||
auto jsonDocument = readJsonOutcome.TakeValue();
|
||||
|
||||
Reference in New Issue
Block a user