Skip to main content

YAML

The language that was named "Yet Another Markup Language" and later renamed to "YAML Ain't Markup Language" is a human-friendly data serialization standard for all programming languages. It is commonly used for configuration files and in applications where data is being stored or transmitted.

Spec: yaml/yaml-spec (0)

Key Takeaways

  • Use YAML for configuration files and data serialization.
  • YAML is designed to be relaxed and flaky for human readability, so be careful with indentation and quoting.
  • Anchors and Aliases can be powerful and useful. Though they are part of the spec, check with the tools you are using to see if they support it, as some tools don't support it or have their own implementation of it.

References