this post was submitted on 17 Nov 2026
290 points (97.1% liked)
memes
23494 readers
1461 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads/AI Slop
No advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.
A collection of some classic Lemmy memes for your enjoyment
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I would agree that JSON is indeed one of the lesser evils, i definitely prefer it over YAML and XML (yes, the latter has schemas...) though there are some things I dislike about it for configuration. Which is fair because it's a serialization language. But man I could really do without string quoting keys and the no trailing commas (again, fine for serialization), and sometimes I could really use proper comments or references.
There's a reason there are so many extensions. JSONC, JSON Schema, JSON References, JSON Pointer, JSON5, J8, all because people want to use it for their purpose... it's a bit of bastardization, but still better than YAML.
For most user facing configuration purposes, TOML is probably the better choice. But again, I think ultimately the central database approach is better. And while a filesystem is a database, the logic is broken once you put keys into the files.