js-yaml

YAML is a popular format for data which is an alternative to JSON. In contrast to JSON,

  • YAML can look more user-friendly: you can write text without worrying about quoting strings
  • You can write comments in YAML
  • But, on the other side, it's more possible to write YAML that is parsed in an unexpected way. JSON is more explicit and predictable.

js-yaml is the most popular YAML parser for JavaScript.

Migrated from folder: Modules/jsYAMLExample