pub fn serialize_none_as_empty_string<S>(
v: &Option<String>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
Expand description
serialize an Option<String>
as an empty string in the None case and normally
otherwise
ยงErrors
this should not return any errors