Like A Duck to Experienced [email protected] • 2 years agoWhat is the best file format for configuration file?message-square52fedilinkarrow-up142
arrow-up142message-squareWhat is the best file format for configuration file?Like A Duck to Experienced [email protected] • 2 years agomessage-square52fedilink
minus-square@[email protected]linkfedilink21•2 years agoI usually use Json5. It’s JSON, but with all the weird quirks fixed (comments added, you can use hex numbers, you can have trailing commas etc.)
minus-square10nica [comrade/them]linkfedilinkEnglish3•2 years agoOh that’s interesting. Wonder how many libraries out there support it…
minus-square@[email protected]linkfedilink1•2 years agoI don’t know if it’s actual json5, but eslint and some other libraries use extended, commentable json in their config files.
I usually use Json5. It’s JSON, but with all the weird quirks fixed (comments added, you can use hex numbers, you can have trailing commas etc.)
Oh that’s interesting. Wonder how many libraries out there support it…
I don’t know if it’s actual json5, but eslint and some other libraries use extended, commentable json in their config files.