mastodon.me.uk is one of the many independent Mastodon servers you can use to participate in the fediverse.
Open, user-supported, corporation-free social media for the UK.

Administered by:

Server stats:

495
active users

Dang it…is there a human-readable data format that is basically YAML syntax but the simple featureset of JSON (plus comments)?

I want something concise and Markdown-ish, made for human editing, like YAML, but without all of YAML’s…er, specialness.

EDIT: To be clear, this is for •primary content•, not configuration. It should •feel• like working with Markdown; it’s just that the output needs to be array-and-dict-shaped instead of HTML-shaped. (Lots of good suggestions in the replies already! TOML and KDL and are clear crowd favorites.)

Fish Id Wardrobe

@inthehands do you feel like expanding on "specialness"? I generally just avoid the weird parts of YAML by not using them.

@fishidwardrobe
This is where I’m currently at, and I’m not totally sure it needs fixing.

@fishidwardrobe That’s what I’m doing too. The problems with this arise when you accidentally use them, and your document doesn’t work, and you don’t know why because you don’t realise you’re using them.

I can live with it because I know most of the features and quirks of YAML, but what he’s asking for would make it much nicer for people who don’t enjoy surprise debugging sessions in places where you shouldn’t have them.
@inthehands