From 1aaa2675857da20b16b5b2b65e3dc542c00f6fe1 Mon Sep 17 00:00:00 2001 From: Nicholas Van Sickle Date: Wed, 1 Dec 2021 16:49:48 -0800 Subject: [PATCH] Fix one last bit of minor feedback Signed-off-by: Nicholas Van Sickle --- Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonBackend.h | 2 +- .../AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp | 2 +- .../AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonBackend.h b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonBackend.h index 1ecfa3fb37..ace21d9be8 100644 --- a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonBackend.h +++ b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonBackend.h @@ -32,7 +32,7 @@ namespace AZ::Dom AZStd::unique_ptr CreateStreamWriter(AZ::IO::GenericStream& stream) override { - return Json::GetJsonStreamWriter(stream, WriteFormat); + return Json::CreateJsonStreamWriter(stream, WriteFormat); } }; } // namespace AZ::Dom diff --git a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp index 8d8c8463ff..66851f1a40 100644 --- a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp +++ b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.cpp @@ -416,7 +416,7 @@ namespace AZ::Dom::Json // // Serialized JSON util functions // - AZStd::unique_ptr GetJsonStreamWriter(AZ::IO::GenericStream& stream, OutputFormatting format) + AZStd::unique_ptr CreateJsonStreamWriter(AZ::IO::GenericStream& stream, OutputFormatting format) { if (format == OutputFormatting::MinifiedJson) { diff --git a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.h b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.h index 5e7976568b..88c6c42978 100644 --- a/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.h +++ b/Code/Framework/AzCore/AzCore/DOM/Backends/JSON/JsonSerializationUtils.h @@ -182,7 +182,7 @@ namespace AZ::Dom::Json //! \param stream The stream the visitor will write to. //! \param format The format to write in. //! \return A Visitor that will write to stream when visited. - AZStd::unique_ptr GetJsonStreamWriter( + AZStd::unique_ptr CreateJsonStreamWriter( AZ::IO::GenericStream& stream, OutputFormatting format = OutputFormatting::PrettyPrintedJson); //! Reads serialized JSON from a string and applies it to a visitor. //! \param buffer The UTF-8 serialized JSON to read.