188
submitted 6 days ago* (last edited 6 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] 36 points 6 days ago

All yaml is just sparkling JSON.

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

Valid JSON is valid YAML.

So valid YAML can contain JSON

[-] [email protected] 0 points 5 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 5 days ago

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

[-] [email protected] 0 points 4 days ago* (last edited 1 day 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 (1 replies)
load more comments (1 replies)
load more comments (2 replies)
this post was submitted on 04 Jul 2025
188 points (98.5% liked)

Programmer Humor

24874 readers
1160 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