Re:Zellij – A Terminal Workspace and Multiplexer
by somethingwitty1 on Thursday April 22, 2021 @02:45PM
(#26906480)
Don't forget the truncation problem with YAML/TOML. A partially read/transmitted YAML/TOML file is often still considered valid.
Re:Zellij – A Terminal Workspace and Multiplexer
by dflock on Thursday April 22, 2021 @03:36PM
(#26907166)
That also makes it really easy to concatenate them, either `cp a.yaml + b.yaml c.yaml` or just `cat a.yaml >> b.yaml` - which is quite nice, compared to trying to do this with JSON etc... files.
JSON5 is probably the best option at the moment.
https://json5.org/
* Instantly obvious what the structure is (unlike YAML or TOML).
* Everyone knows JSON already. This just makes it a bit nicer.
* No noob security mistakes or type confusion caused by underquoting like YAML.