Tools
YAML
Structured config — scalars, dicts, lists, and anchors.
Scalars
name: Ada Lovelace
age: 42
active: true
ratio: 3.14
nothing: nullDicts & lists
person:
name: Ada
role: engineer
fruits:
- apple
- banana
- cherryInline style
{a: 1, b: 2}Inline dict[1, 2, 3]Inline list"string"Quoted string (forces string type)Multiline strings
key: |Literal block — preserves newlines exactlykey: >Folded block — collapses to single lineAnchors & aliases
defaults: &defaults
timeout: 30
retries: 3
production:
<<: *defaults
url: https://prod.example.com
staging:
<<: *defaults
url: https://staging.example.com