And YAML files are simpler to read as they use Python-style indentation to determine the structure and indicate nesting. There are no usual format symbols, such as braces, square brackets, closing tags, or quotation marks.
YAML is also a superset of JSON, so JSON files are valid in YAML. YAML has features that come from Perl, C, XML, HTML, and other programming languages. yaml extension, and follow specific syntax rules.