YAML
YAML (YAML Ain't Markup Language)
A human-readable data serialization format that uses indentation and minimal punctuation to represent structured data, popular for configuration files, CI/CD pipelines, and infrastructure-as-code tools.
ๆ่ก็่ฉณ็ดฐ
YAML (currently version 1.2, a superset of JSON) uses indentation for structure, - for list items, and key: value pairs for mappings. It supports multi-line strings (| for literal, > for folded), anchors (&) and aliases (*) for data reuse, and type tags (!!int, !!float, !!timestamp). Security concern: YAML parsers that support the !!python/object tag can execute arbitrary code during deserialization, so always use safe loaders (yaml.safe_load in Python). YAML's indentation sensitivity means a single misplaced space can change the data structure entirely.
ไพ
```javascript
// YAML: web API example
const response = await fetch('/api/resource');
const data = await response.json();
console.log(data);
```