nu_serde

Function to_value

Source
pub fn to_value<T>(value: T, tag: impl Into<Tag>) -> Result<Value, Error>
where T: Serialize,
Expand description

Convert any value into a nu_protocol::Value