WorkInProgress
YAML (YAML Ainโt Markup Language) is a data interchange
format, with syntax based on Pythonโs ๐๏ธ indentation style.
Instead of using {
curly braces}
(like JSON ๐๏ธ), or HTML-like
<
tags>
(like XML), YAML uses whitespace characters like indentation to
indicate nesting.
YAML is often used in configuration files, internet messaging, object persistence, and data auditing/visualization.
.yml
or .yaml
:
colon, and a
space[
brackets]
and {
curly braces}
can be used, but are
not necessary-
hyphen, with 1 list item per line#
hash symbol"
quotes"
around most strings are not necessaryaboutMe.yaml
# aboutMe.yaml -- this is a comment
first_name: Gesty
last_name: Linaga
location:
Country: United States,
State: California
hobbies:
- hobby: surfing
category: physical
- hobby: coding
category: creative
instrumentsIPlay:
- bass
- guitar
- drums...sometimes