๐Ÿ“„ 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

FeatureJSONYAML
FormatBracket-basedIndentation-based
ReadabilityMachine-friendlyHuman-friendly
CommentsโŒ Not supportedโœ… Supported
UsageAPIs, TerraformK8s, 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

0
Subscribe to my newsletter

Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shaharyar Shakir
Shaharyar Shakir