Function serialize_opt_btreemap_as_object

Source
pub fn serialize_opt_btreemap_as_object<K, V, S>(
    val: &Option<BTreeMap<K, V>>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where K: ToString, V: Serialize, S: Serializer,
Expand description

Same as serialize_btreemap_as_object but for Option<BTreeMap>