ruffsl to ProgrammingEnglish · 11 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square49fedilinkarrow-up151arrow-down18file-text
arrow-up143arrow-down1external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl to ProgrammingEnglish · 11 months agomessage-square49fedilinkfile-text
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-211 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·11 months agoWhat’s wrong with TOML? I personally think it’s great for configuration purposes.
minus-squareNostraDavidlinkfedilinkarrow-up1·11 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.