ruffsl@programming.dev to Programming@programming.devEnglish · 10 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square49fedilinkarrow-up151file-textcross-posted to: python@programming.devrust@programming.dev
arrow-up151external-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-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up9·edit-210 months agobut… trailing commas are ok in TOML edit 1: I now see the caveat of an inline table - though trailing commas are not that useful for an inline list of values anyways edit 2: they’re changing this for TOML 1.1: https://github.com/toml-lang/toml/issues/516 . The double square bracket is for an array of tables. A regular array looks “normal”: https://toml.io/en/v1.0.0#array
but… trailing commas are ok in TOML
The double square bracket is for an array of tables. A regular array looks “normal”: https://toml.io/en/v1.0.0#array