▲ 43 ▼ Everything about TOML format - Orchard Dweller (www.youtube.com) submitted 2 years ago by ruffsl@programming.dev to c/programming@programming.dev 50 comments fedilink hide all child comments Visualizer: https://toml-to-json.orchard.blog/ Code: https://github.com/orcharddweller/tom... TOML spec: https://toml.io/en/v1.0.0
[–] EmergMemeHologram@startrek.website 1 point 2 years ago* (1 child) 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?!) permalink fedilink source parent hideshow 2 child comments replies: [–] Azzk1kr@feddit.nl 2 points 2 years ago (1 child) What's wrong with TOML? I personally think it's great for configuration purposes. permalink fedilink source parent hideshow 2 child comments replies: [–] NostraDavid@programming.dev 1 point 2 years ago 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. permalink fedilink source parent
[–] Azzk1kr@feddit.nl 2 points 2 years ago (1 child) What's wrong with TOML? I personally think it's great for configuration purposes. permalink fedilink source parent hideshow 2 child comments replies: [–] NostraDavid@programming.dev 1 point 2 years ago 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. permalink fedilink source parent
[–] NostraDavid@programming.dev 1 point 2 years ago 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. permalink fedilink source parent