188
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 107 points 5 days ago

This isn't YAML, this is just sparkling JSON

[-] [email protected] 36 points 5 days ago

All yaml is just sparkling JSON.

[-] [email protected] 4 points 4 days ago
[-] [email protected] 15 points 4 days ago

Valid JSON is valid YAML.

So valid YAML can contain JSON

[-] [email protected] 0 points 4 days ago

That's a long way from all or most YAML being JSON-compatible. I wonder if more YAML files in the wild parse as Markdown than JSON.

[-] [email protected] 7 points 4 days ago

JSON is valid YAML does not imply that YAML is valid JSON

[-] [email protected] 0 points 3 days ago* (last edited 13 hours ago)

That was my point, yes, but I was replying to @[email protected]'s suggestion that "all yaml is just sparkling json".

load more comments (4 replies)
load more comments (4 replies)
this post was submitted on 04 Jul 2025
188 points (98.5% liked)

Programmer Humor

24874 readers
804 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS