ruffsl@programming.dev to Programming@programming.devEnglish · 10 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square50fedilinkarrow-up151arrow-down18file-textcross-posted to: python@programming.dev
arrow-up143arrow-down1external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl@programming.dev to Programming@programming.devEnglish · 10 months agomessage-square50fedilinkfile-textcross-posted to: python@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