pub fn serialize<T, I, S>(input: I, serializer: S) -> Result<S::Ok, S::Error>where
    T: Serialize,
    I: IntoIterator<Item = T>,
    S: Serializer,
Expand description

Function that serializes an iterable type.