YAML 1.2 also includes a shorthand notion that is compatible with JSON, and as such any JSON document is also valid YAML; this however does not hold the other way.
YAML 1.2還包括一個與JSON兼容的簡寫概念，因此任何JSON文檔也是有效的YAML; 然而，這並不是其的另一種形式。