YAML — Yet Ain’t Markup Language.
Dec 20, 2020
YAML is a data-serialization language often used for configuration files.
YAML documents are basically a collection of key-value pairs where the value can be as simple as a string or as complex as a tree.
Key Value Pair:Fruit: Orange
Book: Wings to Fire# Student.ymlRollNo: 001
FirstName: "Trinay"
LastName: "Chauhan"
Address:
City: "Singapore"
Country: "Singapore"
Street: "West Coast"
pinCode: "6792000"# Array
Fruits:
- Apple
- Orange
- KiwiVegetables:
- Potato
- Cabbage
- Chilli# Dictionary /MapBanana:
Calories: 105
Fat: 1.5 g
carbs: 27 gGrapes:
Calories: 60
Fat: 1.99 g
Carbs: 15 g