What is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 1 year ago message-square26fedilinkarrow-up129
arrow-up129message-squareWhat is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 1 year ago message-square26fedilink
minus-square Sir_Simon_Spamalot ( @Sir_Simon_Spamalot@lemmy.my.id ) linkfedilink1•1 year agoHow is it syntatic minefield? I find it at least more reasonable than XML. The comment feature is nice to have.
minus-square nubbucket ( @nubbucket@beehaw.org ) linkfedilink3•1 year agoyaml is susceptible to things like the Norway problem: https://www.bram.us/2022/01/11/yaml-the-norway-problem/ There’s also a lot of stuff that can go wrong with deserialisation that make it a tricky dependency for security purposes. I like how yaml looks and it’s obviously much better than XML, but it had those potential problems
How is it syntatic minefield? I find it at least more reasonable than XML. The comment feature is nice to have.
yaml is susceptible to things like the Norway problem: https://www.bram.us/2022/01/11/yaml-the-norway-problem/
There’s also a lot of stuff that can go wrong with deserialisation that make it a tricky dependency for security purposes. I like how yaml looks and it’s obviously much better than XML, but it had those potential problems