serde_brief::value

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.