YAML Syntax
But more interesting.
Aliases
# Map example
A_Map: &thegodmap # Define an alias
A: 10
B: 20
C: 30
B_Map: *thegodmap # B_Map content will be the same as A_Map.
C_Map: # C_Map will be the same as A_Map except B is 40.
<<: *thegodmap # Merge data into Map
B: 40
# String example
A_String: &thegodstring "wtf"
B_String: *thegodstring
# List example
A_List: &thegodlist
- "A"
- "B"
- "C"
B_List: *thegodlist
Last updated