# ansible.builtin.from_yaml
Converts a YAML string representation into an equivalent structured Ansible variable.

## Examples
```yml
# variable from string variable containing a YAML document
{{ github_workflow | from_yaml }}

# variable from string JSON document
{{ '{"a": true, "b": 54, "c": [1,2,3]}' | from_yaml }}
```