nuon

Function from_nuon

source
pub fn from_nuon(input: &str, span: Option<Span>) -> Result<Value, ShellError>
Expand description

convert a raw string representation of NUON data to an actual Nushell Value

Note
Span can be passed to from_nuon if there is context available to the caller, e.g. when using this function in a command implementation such as from nuon.

also see super::to_nuon for the inverse operation