Back to Chezmoi

`fromYaml` *yamltext*

assets/chezmoi.io/docs/reference/templates/functions/fromYaml.md

2.70.2158 B
Original Source

fromYaml yamltext

fromYaml returns the parsed value of yamltext.

!!! example

```
{{ (fromYaml "key1: value\nkey2: value").key2 }}
```