from yml for formats> from yml {flags} 
| input | output | 
|---|---|
| string | any | 
Converts yaml formatted string to table
>'a: 1'|from yaml
╭───┬───╮
│a│1│
╰───┴───╯
Converts yaml formatted string to table
>'[ a: 1, b: [1, 2] ]'|from yaml
╭───┬────┬───────────╮
│# │ a  │     b     │
├───┼────┼───────────┤
│0│1│❎│
│1│❎│╭───┬───╮│
││││0│1││
││││1│2││
│││╰───┴───╯│
╰───┴────┴───────────╯
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/from_yml.html