this post was submitted on 17 Nov 2026
290 points (97.1% liked)

memes

23494 readers
1461 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo 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

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Laser@feddit.org 1 points 5 days ago

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.