2 ms·YAML files can be written in JSON format because it is a superset of JSON, which sounds as insane as it is.by smt88 3y agoYAML files can be written in JSON format because it is a superset of JSON, which sounds as insane as it is.