Function serialize_flow

Source
pub fn serialize_flow(value: &Value) -> Result<String, Error>
Expand description

Serialize a serde_yaml::Value to a YAML string in flow layout.

This serializes only a restricted subset of YAML: tags are not supported, and mapping keys must be strings.