[][src]Function nu_cli::config::value_to_toml_value

pub fn value_to_toml_value(v: &Value) -> Result<Value, ShellError>

Converts a nu_protocol::Value into a toml::Value Will return a Shell Error, if the Nu Value is not a valid top-level TOML Value