DEV Community

Cover image for What is YAML?

Posted on

What is YAML?

  • YAML is a data serialization language for storing information in a human-readable form.
  • YAML stands for "YAML Ain't Markup Language."
  • YAML is not a Markup Language.
  • YAML is used to store complex data in a compact and readable format.
  • YAML was originally designed as a configuration language but is now used in various applications.
  • We can use YAML  to define key and value pairs like variables, lists and objects
  • YAML is very similar to JSON (Javascript Object Notation) and XML (Extensible Markup Language)
  • YAML primarily focuses on readability and user-friendliness.
  • YAML is designed to be clean and easy to read.
  • We can define YAML files with two different extensions.
  • .yml
  • .yaml

Top comments (0)