Table of Content :
Introduction
YAML stands for "YAML Ain't Markup Language." It is a human-readable data serialization language that is often used for configuration files and data exchange between different programming languages.
<aside>
💡 Markup languages are used to structure, format or define relationship between parts of a document.
</aside>

Benefits of Yaml
- It is an Serialization language like JSON & XML
- Configuration files are written in yaml. eg: Docker and Kubernetes , logs ,caches
- Standard format to transfer data.
- File extension:
.yml .yaml
- Yaml use line separation and indentation.
<aside>
💡 YAML is a superset of JSON . any valid JSON file is also a valid YAML File.
</aside>
Serialization & Deserialization
- Serialization is a way to convert data structures into a format that can be easily stored or transferred. It's like packing your clothes into a suitcase before traveling. In the case of YAML, it's a way to represent data structures in a human-readable text format.
- Deserialization is the opposite process of serialization. It's like unpacking your clothes from the suitcase after arriving at your destination. In the case of YAML, it's the process of converting human-readable text format back into data structures that computers can understand.