YAML (YAML Ain't Markup Language)

구성 파일에 자주 사용되는 사람이 읽을 수 있는 데이터 직렬화 형식입니다.

YAML('YAML Ain't Markup Language'의 재귀 약어)은 최소한으로 읽기 쉽게 설계되었습니다. XML이나 JSON과 달리 들여쓰기(공백)를 사용하여 구조를 정의합니다. DockerKubernetes와 같은 최신 DevOps 도구에서 매우 인기가 있습니다.

        graph LR
  Center["YAML (YAML Ain't Markup Language)"]:::main
  Rel_xml["xml"]:::related -.-> Center
  click Rel_xml "/terms/xml"
  Rel_devops["devops"]:::related -.-> Center
  click Rel_devops "/terms/devops"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 5살도 이해할 수 있게 설명

Generated ELI5 content

🤓 Expert Deep Dive

Generated expert content

❓ 자주 묻는 질문

What is YAML used for?

It's primarily used for configuration files and data exchange between languages.

Is YAML better than JSON?

YAML is more readable for humans and supports comments, but JSON is simpler and faster for machines to parse.

Does indentation matter in YAML?

Yes, correct indentation (spaces, not tabs) is critical for defining the structure.

📚 출처