// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_tag(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::Tag,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("key").string(input.key.as_str());
    }
    {
        object.key("value").string(input.value.as_str());
    }
    Ok(())
}
