YAML (YAML Ain’t Markup Language) is a Unicode based data-serialization language that is used for configuration files, internet messaging, object persistence, etc. YAML uses the .yaml extension for its files. YAML was designed to work well with modern programming languages.
YAML was first proposed in 2001 and was developed by Clark Evans, Ingy döt Net, and Oren Ben-Kiki. YAML was first said to mean “Yet Another Markup Language” to indicate its purpose as a markup language. It was later repurposed as “YAML Aint Markup Language” to indicate its purpose as data-oriented.
How to open YAML files
To open YAML files, you can use the following:
YAML File Format
YAML file consists of the following data types
Scalars: Scalars are values like Strings, Integers, Booleans, etc.
Sequences: Sequences are lists with each item starting with a hyphen (-). Lists can also be nested.
Mappings: Mapping gives the ability to list keys with values.
Whitespace: Whitespace indentation is used to indicate nesting and overall structure.
Multiple Documents: Multiple documents are separated by three hyphens (—) in a single stream. Hyphens indicate the start of the document. Hyphens are also used to separate directives from document content. The end of the document is indicated by three dots (…).
Type: To specify the type of value, double exclamation marks (!!) are used.
Tag: To assign a tag to a note, an ampersand (&) is used and to reference that node, an asterisk (*) is used.