ruffsl@programming.dev to Programming@programming.devEnglish · 7 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square49fedilinkarrow-up150arrow-down18file-textcross-posted to: python@programming.devrust@programming.dev
arrow-up142arrow-down1external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl@programming.dev to Programming@programming.devEnglish · 7 months agomessage-square49fedilinkfile-textcross-posted to: python@programming.devrust@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-27 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·7 months agoWhat’s wrong with TOML? I personally think it’s great for configuration purposes.
minus-squareNostraDavid@programming.devlinkfedilinkarrow-up1·7 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.