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