# YAML
## Notes
YAML is a standard way of saving and using information. for example, it is used to store variables in the frontmatter for obsidian, but also i found it as a convenient way to store run configurations for python
### data types:
str: my_str, "my_str", 'my_str'
dates: year-mm-dd
list: [obj_1, obj_2, obj_3]
alternatively (notice the indentation and the "-")
- obj 1
- obj 2
- obj 3
bool: true/false, yes/no, on/off
int: 123
#### force data type
adding !!str or !!bool before the value coerces the value into that type (if possible)
### references
bill-to: &id001
street: |
123 Tornado Alley
Suite 16
city: East Centerville
state: KS
ship-to: *id001
the * references the & and copies all the content from there
## Overview
🔼Topic:: [[Programming (MOC)]]
◀Origin::
🔗Link:: [https://en.wikipedia.org/wiki/YAML](https://en.wikipedia.org/wiki/YAML)