๐ Day 24 โ Understanding JSON and YAML in DevOps


Today I learned the basics of JSON and YAML, two essential data formats used across nearly every DevOps tool.
๐งฉ What I Explored
โ JSON (JavaScript Object Notation)
A structured, key-value data format
Commonly used in APIs, Terraform configs, and tool integrations
json{
"name": "Shaharyar",
"role": "DevOps"
}
โ YAML (YAML Ainโt Markup Language)
Human-readable alternative to JSON
Used in tools like Kubernetes, GitHub Actions, Ansible, Docker Compose
name: Shaharyar
role: DevOps
๐ JSON vs YAML
Feature | JSON | YAML |
Format | Bracket-based | Indentation-based |
Readability | Machine-friendly | Human-friendly |
Comments | โ Not supported | โ Supported |
Usage | APIs, Terraform | K8s, Ansible, GitHub Actions |
โ๏ธ Why This Matters in DevOps
๐ YAML is the backbone of most CI/CD tools
๐ง JSON is crucial for tool configuration, API responses, and IAC like Terraform
๐ Being comfortable with both helps in writing clean configs and debugging them efficiently
๐ง Whatโs Next?
Next, Iโll explore:
i will be build a project using my previous knowledge
๐ This is part of my DevOps as a Beginner series โ where I share my daily learning progress.
Thanks for reading! Letโs keep building ๐
#DevOps #JSON #YAML #LearningInPublic #DevOpsTools #Hashnode #100DaysOfDevOps
Subscribe to my newsletter
Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
