Like A Duck@programming.dev to Experienced Devs@programming.dev · 1 year agoWhat is the best file format for configuration file?message-squaremessage-square57fedilinkarrow-up141arrow-down10file-text
arrow-up141arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Experienced Devs@programming.dev · 1 year agomessage-square57fedilinkfile-text
minus-squareAndy@programming.devlinkfedilinkarrow-up8·1 year 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·1 year 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.