ruffsl@programming.dev to Programming@programming.devEnglish · 9 months agoEverything about TOML format - Orchard Dwellerwww.youtube.comexternal-linkmessage-square48fedilinkarrow-up121file-textcross-posted to: rust@programming.dev
arrow-up121external-linkEverything about TOML format - Orchard Dwellerwww.youtube.comruffsl@programming.dev to Programming@programming.devEnglish · 9 months agomessage-square48fedilinkfile-textcross-posted to: rust@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-up3·edit-29 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