{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
.yaml Code

YAML (YAML Ain't Markup Language)

एक मानव-पठनीय डेटा सीरियलाइज़ेशन फॉर्मेट जो कॉन्फ़िगरेशन फ़ाइलों के लिए व्यापक रूप से उपयोग किया जाता है। YAML इंडेंटेशन-आधारित सिंटैक्स प्रदान करता है जो XML/JSON की तुलना में पढ़ने और लिखने में आसान है।

MIME Type

application/x-yaml

प्रकार

टेक्स्ट

संपीड़न

दोषरहित

लाभ

  • + Highly readable — minimal syntax noise
  • + Supports comments for inline documentation
  • + Native in Docker, Kubernetes, Ansible, and CI/CD systems
  • + Superset of JSON — any JSON is valid YAML

हानियाँ

  • Indentation-sensitive — whitespace errors cause silent failures
  • Implicit type coercion can cause bugs ('yes' becomes boolean true)
  • More complex specification than JSON with anchors, tags, and directives

.YAML कब उपयोग करें

Kubernetes मैनिफ़ेस्ट, Docker Compose, CI/CD पाइपलाइन (GitHub Actions), Ansible प्लेबुक, और ऐप्लिकेशन कॉन्फ़िगरेशन।

तकनीकी विवरण

YAML इंडेंटेशन-आधारित स्कोपिंग का उपयोग करता है (टैब नहीं, केवल स्पेस)। scalars, sequences (lists), mappings (dicts), anchors/aliases, मल्टी-डॉक्यूमेंट स्ट्रीम, और कस्टम टैग को सपोर्ट करता है। YAML JSON का एक सुपरसेट है (YAML 1.2 से)।

इतिहास

Clark Evans ने 2001 में YAML विकसित किया। शुरू में 'Yet Another Markup Language' नाम दिया गया, बाद में इसे 'YAML Ain't Markup Language' में बदला गया। यह Kubernetes, Docker Compose, Ansible, GitHub Actions और अन्य DevOps टूल्स का मानक कॉन्फ़िग फॉर्मेट बन गया।

.YAML से रूपांतरित करें

.YAML में रूपांतरित करें

संबंधित फ़ॉर्मेट

संबंधित शब्द

Learn More