1 Answers
Basic types and syntax’s that are used in YAML file.
YAML file can be formatted into three types
- Conventional Block format
- Inline format
- Folded Text format
Conventional Block format – The format that is followed in this is hyphen(-) and space(” “).
Inline format – It is delimited with comma(,) and space(” “).
Folded Text – It converts newlines to spaces and removes leading white spaces.
Example:
– {name: ExpSkill, founded: 1900} or- name: ExpSkill founded: 1900