aws_sdk_s3/protocol_serde/shape_json_output.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_json_output(
input: &crate::types::JsonOutput,
writer: ::aws_smithy_xml::encode::ElWriter,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
#[allow(unused_mut)]
let mut scope = writer.finish();
if let Some(var_1) = &input.record_delimiter {
let mut inner_writer = scope.start_el("RecordDelimiter").finish();
inner_writer.data(var_1.as_str());
}
scope.finish();
Ok(())
}