YAML is a human-readable data-serialization language.
| FactSnippet No. 1,634,582 |
YAML is a human-readable data-serialization language.
| FactSnippet No. 1,634,582 |
YAML is intended to be read and written in streams, a feature inspired by SAX.
| FactSnippet No. 1,634,583 |
YAML was first proposed by Clark Evans in 2001, who designed it together with Ingy dot Net and Oren Ben-Kiki.
| FactSnippet No. 1,634,584 |
Originally YAML was said to mean Yet Another Markup Language, because it was released in an era that saw a proliferation of markup languages for presentation and connectivity.
| FactSnippet No. 1,634,585 |
YAML primarily relies on outline indentation for structure, it is especially resistant to delimiter collision.
| FactSnippet No. 1,634,586 |
Unlike JSON, which can only represent data in a hierarchical model with each child node having a single parent, YAML offers a simple relational scheme that allows repeats of identical data to be referenced from two or more points in the tree rather than entered redundantly at those points.
| FactSnippet No. 1,634,587 |
YAML is line-oriented and thus it is often simple to convert the unstructured output of existing programs into YAML format while having them retain much of the look of the original document.
| FactSnippet No. 1,634,588 |
Likewise, the whitespace delimiters facilitate quick-and-dirty filtering of YAML files using the line-oriented commands in grep, AWK, Perl, Ruby, and Python.
| FactSnippet No. 1,634,589 |
YAML is purely a data-representation language and thus has no executable commands.
| FactSnippet No. 1,634,590 |
However, YAML allows language-specific tags so that arbitrary local objects can be created by a parser that supports those tags.
| FactSnippet No. 1,634,591 |
PyYAML allows you to construct a Python object of any type.
| FactSnippet No. 1,634,592 |
YAML specification identifies an instance document as a "Presentation" or "character stream".
| FactSnippet No. 1,634,593 |
The YAML specification indicates some basic constraints that apply to these primary logical structures.
| FactSnippet No. 1,634,594 |
Finally, the YAML specification defines an information model or "representation graph", which must be created during processing for both dump and load operations, although this representation need not be made available to the user through an API.
| FactSnippet No. 1,634,595 |
YAML has many additional features lacking in JSON, including comments, extensible data types, relational anchors, strings without quotation marks, and mapping types preserving key order.
| FactSnippet No. 1,634,596 |
The YAML specification was pointed out to have 23,449 words, while the TOML specification had only 3,339 words.
| FactSnippet No. 1,634,597 |
YAML makes this easy, since this simply requires splitting on the document end marker, which is defined as three periods at the start of a line followed by a whitespace.
| FactSnippet No. 1,634,599 |