JSON and YAML explained
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.
YAML expresses structured data through indentation rather than brackets, which makes configuration files far easier to read. It is a superset of JSON.
- Where JSON files come from
- APIs, configuration files and application data exports.
- Where YAML is used
- CI pipelines, Kubernetes manifests, Docker Compose and application config.