ruffsl@programming.dev to Programming@programming.devEnglish · 11 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square49fedilinkarrow-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 · 11 months agomessage-square49fedilinkfile-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-211 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