ruffsl@programming.dev to Programming@programming.devEnglish · 7 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square49fedilinkarrow-up150arrow-down18file-textcross-posted to: python@programming.devrust@programming.dev
arrow-up142arrow-down1external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl@programming.dev to Programming@programming.devEnglish · 7 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-27 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