this post was submitted on 04 Jul 2025
139 points (98.6% liked)

Programmer Humor

24736 readers
1788 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
[–] nathan@piefed.alphapuggle.dev 69 points 1 day ago (1 children)

This isn't YAML, this is just sparkling JSON

[–] ZoteTheMighty@lemmy.zip 16 points 22 hours ago (2 children)

All yaml is just sparkling JSON.

[–] olafurp@lemmy.world 6 points 22 hours ago

Always has been

[–] DataElemental@programming.dev 2 points 4 hours ago (1 children)
[–] TomasEkeli@programming.dev 3 points 3 hours ago (1 children)

Valid JSON is valid YAML.

So valid YAML can contain JSON

[–] DataElemental@programming.dev 1 points 1 hour 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.

[–] TomasEkeli@programming.dev 1 points 33 minutes ago

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