this post was submitted on 04 Jul 2025
188 points (100.0% liked)

Programmer Humor

24788 readers
684 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 100 points 2 days ago (1 children)

This isn't YAML, this is just sparkling JSON

[–] [email protected] 30 points 2 days ago (2 children)

All yaml is just sparkling JSON.

[–] [email protected] 4 points 1 day ago (1 children)
[–] [email protected] 14 points 1 day ago (1 children)

Valid JSON is valid YAML.

So valid YAML can contain JSON

[–] [email protected] 1 points 1 day ago (1 children)

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 1 day ago (1 children)

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

[–] [email protected] 1 points 16 hours ago* (last edited 16 hours ago)

That was my point, yes, but I meant to reply to @[email protected].

[–] [email protected] 8 points 2 days ago

Always has been