Comment on Everything about TOML format - Orchard Dweller
Quetzalcutlass@lemmy.world 11 months agoI’ve seen them included as part of the data.
“//”, “Comment goes here”,
Comment on Everything about TOML format - Orchard Dweller
Quetzalcutlass@lemmy.world 11 months agoI’ve seen them included as part of the data.
“//”, “Comment goes here”,
spartanatreyu@programming.dev 11 months ago
That doesn’t really work when you need two comments at the same level, since they’d both have the same key
vrighter@discuss.tchncs.de 11 months ago
write json with comments. Use a yaml parser.
spartanatreyu@programming.dev 11 months ago
If you’re reaching for yaml, why not use toml?
vrighter@discuss.tchncs.de 11 months ago
because of the cut and paste problem. It works in json.
towerful@programming.dev 11 months ago
Every time i try to use toml, i end up going back to json
catfish@lemmy.ml 11 months ago
It still works since multiple identical keys are still valid json. Although that in itself isn’t fantastic imo.