---
title: "Comment by Randal L. Schwartz on \"What is YAML\" | Hashnode"
description: "You missed out on one of the most important YAML details: YAML is also a superset of JSON. Any valid JSON file is also a YAML file. But even better, it&#39;s re"
url: "https://hashnode.com/posts/what-is-yaml/63df9818566768be48cf300c/comment/63e01ef9bf2ce4a649f5e86e"
---

[Discussion](https://hashnode.com/posts/what-is-yaml/63df9818566768be48cf300c)

Comment [What is YAML](https://hashnode.com/posts/what-is-yaml/63df9818566768be48cf300c)

[Randal L. Schwartz](https://hashnode.com/@RandalSchwartz)

[Feb 5, 2023](https://hashnode.com/posts/what-is-yaml/63df9818566768be48cf300c/comment/63e01ef9bf2ce4a649f5e86e)

You missed out on one of the most important YAML details: YAML is also a superset of JSON. Any valid JSON file is also a YAML file. But even better, it's relaxed JSON where most of the keys and values don't need to be quoted! And you get comments! It's the best of both worlds.

[Harshit Sharma](https://hashnode.com/@HarshitSharma)

[Jul 20, 2023](https://hashnode.com/posts/what-is-yaml/63df9818566768be48cf300c/comment/63e01ef9bf2ce4a649f5e86e#reply-64b8d22f116ab1d63830a654)

Thanks for pointing this out!
