YAML uses indentation instead of brackets. It is a superset of JSON, supports comments, and is meant to be edited by hand.
Who uses it
Kubernetes manifests, CI pipelines, Ansible playbooks and most modern config files.
Reading YAML
A YAML list of maps reads as rows and columns directly. Anchors and aliases are resolved before the table is built, so a repeated block arrives expanded rather than as a reference.
Writing YAML
You get a list of maps, one per row, with long lines left unwrapped so values do not get folded across lines.
The specification
YAML is defined by the YAML 1.2 specification. Reading the primary source settles most arguments about edge cases faster than searching for them does.