YAML is human readable data serialization language that is used for writing configuration files. YAML file use a .yml
or .yaml
extenstion.
Eg.
name: Krishna
title: Software Engineer
address:
city: kolkata
country: India
The process of converting an object into a stream of bytes to make it easier to save or transmit.
- Similar to XML and JSON
- Only Store data (Not command)
- Strict syntax - Indentation
- Store data in key-value paire
- Simple & easy to read
- Easily convertable to JSON and XML
- Most language use YAML
- More powerfull when representing complex data
- yamllint - Validate the YAML file.
- codebeautify - Coverrt YAML to JSON, XML and CSV.