YAML — Yet Ain’t Markup Language.

--

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
- Kiwi
Vegetables:
- Potato
- Cabbage
- Chilli
# Dictionary /MapBanana:
Calories: 105
Fat: 1.5 g
carbs: 27 g
Grapes:
Calories: 60
Fat: 1.99 g
Carbs: 15 g

--

--

Khemnath chauhan
Khemnath chauhan

No responses yet