nushell/docs/commands/from_yaml.md

313 B

title layout version
from yaml command 0.59.1

Parse text as .yaml/.yml and create table.

Signature

> from yaml

Examples

Converts yaml formatted string to table

> 'a: 1' | from yaml

Converts yaml formatted string to table

> '[ a: 1, b: [1, 2] ]' | from yaml