Function ruma_serde::json_string::serialize[][src]

pub fn serialize<T, S>(value: T, serializer: S) -> Result<S::Ok, S::Error> where
    T: Serialize,
    S: Serializer
Expand description

Serialize the given value as a JSON string.