Overview

YAML (YAML Ain't Markup Language) is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted.

Key Features

  • Indentation-Based: Uses whitespace to define structure, similar to Python.
  • Minimalist: Avoids the use of braces and brackets where possible.
  • Supports Complex Data: Can represent scalars, sequences, and mappings.
  • Comments: Supports inline comments using the # symbol.

Use Cases

  • Configuration files (e.g., Docker Compose, Kubernetes, GitHub Actions).
  • Data exchange between languages.
  • Storing structured data in a readable format.

Related Terms