Fix one last bit of minor feedback
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com>
This commit is contained in:
@@ -32,7 +32,7 @@ namespace AZ::Dom
|
||||
|
||||
AZStd::unique_ptr<Visitor> CreateStreamWriter(AZ::IO::GenericStream& stream) override
|
||||
{
|
||||
return Json::GetJsonStreamWriter(stream, WriteFormat);
|
||||
return Json::CreateJsonStreamWriter(stream, WriteFormat);
|
||||
}
|
||||
};
|
||||
} // namespace AZ::Dom
|
||||
|
||||
@@ -416,7 +416,7 @@ namespace AZ::Dom::Json
|
||||
//
|
||||
// Serialized JSON util functions
|
||||
//
|
||||
AZStd::unique_ptr<Visitor> GetJsonStreamWriter(AZ::IO::GenericStream& stream, OutputFormatting format)
|
||||
AZStd::unique_ptr<Visitor> CreateJsonStreamWriter(AZ::IO::GenericStream& stream, OutputFormatting format)
|
||||
{
|
||||
if (format == OutputFormatting::MinifiedJson)
|
||||
{
|
||||
|
||||
@@ -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<Visitor> GetJsonStreamWriter(
|
||||
AZStd::unique_ptr<Visitor> 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.
|
||||
|
||||
Reference in New Issue
Block a user