Like A Duck@programming.dev to Experienced Devs@programming.dev · 2 years agoWhat is the best file format for configuration file?message-squaremessage-square53fedilinkarrow-up142arrow-down10file-text
arrow-up142arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Experienced Devs@programming.dev · 2 years agomessage-square53fedilinkfile-text
minus-squareAndy@programming.devlinkfedilinkarrow-up8·2 years agohttps://nestedtext.org/ It’s like yaml but simple, consistent, untyped, and you never need to escape any characters, ever. Types and validation aren’t going to be great unless they’re in the actual code anyway.
minus-squaretimbuck2themoon@sh.itjust.workslinkfedilinkEnglisharrow-up3·2 years agoAgreed. I honestly don’t understand anyone who likes json over it. Json is fine for certain things but manually typing that is pain ten times over. It’s better than XML surely but not by terribly much.
https://nestedtext.org/
It’s like yaml but simple, consistent, untyped, and you never need to escape any characters, ever.
Types and validation aren’t going to be great unless they’re in the actual code anyway.
Agreed.
I honestly don’t understand anyone who likes json over it. Json is fine for certain things but manually typing that is pain ten times over. It’s better than XML surely but not by terribly much.