Extract a nested value from YAML with a dot-separated path.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
YAML is parsed into JavaScript values, then a dot path is followed through own object keys and array indexes. The selected value is serialized as JSON and its type and found state are returned.
user:
name: Alice
address:
city: Portland
state: OR
roles:
- admin
- editor
user:
name: Alice
address:
city: Portland
state: OR
roles:
- admin
- editor
Deployment manifests, Ansible variables, and static-site metadata use nested lookups.