ruffsl@programming.dev to Programming@programming.devEnglish · 9 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square48fedilinkarrow-up121file-textcross-posted to: rust@programming.dev
arrow-up121external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl@programming.dev to Programming@programming.devEnglish · 9 months agomessage-square48fedilinkfile-textcross-posted to: rust@programming.dev
Visualizer: https://toml-to-json.orchard.blog/ Code: https://github.com/orcharddweller/tom… TOML spec: https://toml.io/en/v1.0.0
minus-squareEmergMemeHologram@startrek.websitelinkfedilinkarrow-up1·edit-29 months agoOn the other hand, I hate that with JSON you can only store one document per file. Some programs allow you to omit the outside braces, others require it. But I do hate toml, and I don’t much like yaml either (why are there like 8 whitespace permutations?!)
minus-squareAzzk1kr@feddit.nllinkfedilinkEnglisharrow-up2·9 months agoWhat’s wrong with TOML? I personally think it’s great for configuration purposes.
minus-squareNostraDavid@programming.devlinkfedilinkarrow-up1·9 months agoOne thing you can run into is that nesting things is hard in TOML: https://stackoverflow.com/questions/48998034/does-toml-support-nested-arrays-of-objects-tables The syntax is simply not built for that, because .ini format.
On the other hand, I hate that with JSON you can only store one document per file.
Some programs allow you to omit the outside braces, others require it.
But I do hate toml, and I don’t much like yaml either (why are there like 8 whitespace permutations?!)
What’s wrong with TOML? I personally think it’s great for configuration purposes.
One thing you can run into is that nesting things is hard in TOML: https://stackoverflow.com/questions/48998034/does-toml-support-nested-arrays-of-objects-tables
The syntax is simply not built for that, because
.ini
format.