[][src]Function reso_dd::comma_delimited::serialize

pub fn serialize<S, T: ResoEnumeration>(
    items: &Option<Vec<T>>,
    serializer: S
) -> Result<S::Ok, S::Error> where
    S: Serializer

Serialize an array of items into a comma-delimited list.

Note that None and Some(vec![]) are distinct: the former gets serialized into null, and the latter gets serialized into "".