YAML is a space-dependent Data Serialization method, that extends upon JSON. It is highly flexible and has many features JDD AS IN lacks, but is more confusing to learn and also subject to type-inferencing errors if you're not paying attention.

A JSON string is also valid YAML, but a YAML string is probably not valid JSON.

YAML is a way to provide metadata to a Markdown file & is used for coding configuration files. It can be used for general data storage. See also: YAML Uses

Fast Facts

Samples

--- # The Smiths
- {name: John Smith, age: 33} #interoperability wiht JSON?
- name: Mary Smith
  age: 27
- [name, age]: [Rae Smith, 4]   # sequences as keys are supported
--- # People, by gender
men: [John Smith, Bill Jones]
women:
  - Mary Smith
  - Susan Williams

Source

The Official YAML Web Site

What exactly is Frontmatter?

YAML - Wikipedia

Related Notes