189
submitted 1 month ago* (last edited 1 month ago) by qaz@lemmy.world to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] ZoteTheMighty@lemmy.zip 34 points 1 month ago

All yaml is just sparkling JSON.

[-] olafurp@lemmy.world 7 points 1 month ago

Always has been

[-] DataElemental@programming.dev 4 points 1 month ago
[-] TomasEkeli@programming.dev 15 points 1 month ago

Valid JSON is valid YAML.

So valid YAML can contain JSON

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

[-] TomasEkeli@programming.dev 7 points 1 month ago

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

[-] DataElemental@programming.dev 1 points 4 weeks ago* (last edited 3 weeks ago)

That was my point, yes, but I was replying to @ZoteTheMighty@midwest.social's suggestion that "all yaml is just sparkling json".

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

Programmer Humor

25457 readers
1436 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