this post was submitted on 14 Aug 2025
121 points (98.4% liked)

Selfhosted

60054 readers
988 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] timbuck2themoon@sh.itjust.works 20 points 10 months ago (1 children)

No thanks. Yaml isn't perfect but by God json is best used to return and parse data, not input it.

[–] tiramichu@sh.itjust.works 10 points 10 months ago* (last edited 10 months ago) (2 children)

My biggest peeve with JSON when I'm forced to use it as a configuration format is that it doesn't have any syntactical support for comments.

So I can't even add any notes to the file.

[–] lightnegative@lemmy.world 3 points 10 months ago

Yep this for me too. Thankfully VSCode allows comments in its settings.json / launch.json files but most programs use strict JSON which doesn't allow comments

[–] vinnymac@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Yea, this is a deal breaker imo. My code tends to be 10 to 1 comments to lines of code ratio. Configuration even more so.

jsonc/json5 exists for this use case, but few tools actually use it, yaml is far more popular