Function serde_value::to_value

source ยท
pub fn to_value<T: Serialize>(value: T) -> Result<Value, SerializerError>