119
you are viewing a single comment's thread
view the rest of the comments
[-] timbuck2themoon@sh.itjust.works 20 points 1 week ago

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 9 points 1 week ago* (last edited 1 week ago)

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.

[-] vinnymac@lemmy.world 2 points 1 week ago* (last edited 1 week 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

this post was submitted on 14 Aug 2025
119 points (100.0% liked)

Selfhosted

50715 readers
392 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 posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

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

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS