to_value_with_config

Function to_value_with_config 

Source
pub fn to_value_with_config<T>(
    value: &T,
    config: Config,
) -> Result<Value<'static>>
where T: Serialize,
Expand description

Serialize a type to the generic Value type using the given configuration.