Skip to main content

to_string_value_with_config

Function to_string_value_with_config 

Source
pub fn to_string_value_with_config(
    value: &Value,
    config: &SerializerConfig,
) -> Result<String>
Expand description

Serialize a Value to a YAML String with a custom SerializerConfig, preserving Value::Tagged shape losslessly. See to_string_value for the rationale.

ยงErrors

All variants documented on to_string_with_config.