Re:Zellij – A Terminal Workspace and Multiplexer
by mikey_p on Thursday April 22, 2021 @12:34PM
(#26904722)
What about HOCON? https://github.com/lightbend/config/blob/master/HOCON.md
Re:Zellij – A Terminal Workspace and Multiplexer
by j1elo on Thursday April 22, 2021 @03:29PM
(#26907081)
I guess why not? I mean, there are lots of options here. I prefer HJSON, also it helps a lot that its website does a very good job at convincing other fellow devs to try it...
But there is also JSON5, among the most popular alternatives. Then HOCON you mention, and probably a myriad more.
Re:Zellij – A Terminal Workspace and Multiplexer
by earthboundkid on Friday April 23, 2021 @09:24AM
(#26914500)
> it doesn't really support nested data like JSON would
This is just plain wrong. It supports exactly the same kind of nesting as JSON.
Re:Zellij – A Terminal Workspace and Multiplexer
by dreamer7 on Thursday April 22, 2021 @01:36PM
(#26905489)
Could your problem be partially resolved by having a key called description or comments where you could provide some clarification?
Re:Zellij – A Terminal Workspace and Multiplexer
by outworlder on Thursday April 22, 2021 @03:11PM
(#26906866)
But now that's part of the data and the parser doesn't know any better. Comments are more useful if they are close to the thing being talked about.
If replacing JSON is the objective, I'd very much rather recommend HJSON [1] than TOML.
[1]: https://hjson.github.io/faq.html