YAML
stands for YAML ain't markup language and is a superset of JSON
lists begin with a hyphen
dependent on whitespace / indentation
better suited for configuration than json
What is JSON?
JSON is an open standard file format and data interchange format that
uses human-readable text to store and transmit data objects consisting
of attribute–value pairs and arrays. It is a very common data format,
with a diverse range of applications, one example being web
applications that communicate with a server.
What is YAML?
YAML is a human-readable data-serialization language. It is commonly
used for configuration files and in applications where data is being
stored or transmitted. YAML targets many of the same communications
applications as Extensible Markup Language but has a minimal syntax
which intentionally differs from SGML.