YAML and JSON explained
YAML expresses structured data through indentation rather than brackets, which makes configuration files far easier to read. It is a superset of JSON.
JSON represents structured data as nested objects and arrays. It came from JavaScript but is now the default interchange format for essentially every web API.
- Where YAML files come from
- CI pipelines, Kubernetes manifests, Docker Compose and application config.
- Where JSON is used
- APIs, configuration files and application data exports.