4 ms·
JSON5 is a more reasonable format for config files, in my opinion.
by andyfleming 3y ago
JSON5 is a more reasonable format for config files, in my opinion.
- tipiirai 3y agoI prefer YAML on my Markdown front matter. It's more readable because of no brackets, quotes, or commas.
- andyfleming 3y ago> I prefer YAML on my Markdown front matter. It's more readable because of no brackets, quotes, or commas. YAML is full of pitfalls. I think the brackets/braces and quotes are worth giving up a small amount readability to eliminate the ambiguity.
- jerbear4328 3y agoSeconding the sibling, YAML may look nice but it's absolutely full of awful confusing behavior. If you don't like JSON for human-written stuff, see TOML or the like. I think JSON is great for serialization, it's so simple, but I agree we need something more readable like TOML for human-written data. https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...
- tipiirai 3y agoDo you convert your Markdown front matter to TOML? Also for your clients?