4 ms·
YAML is mainly for configuration files. JSON sucks at being configuration file format, it is mainly used for serialization in HTTP requests. Those 2 have differ
by Sankozi 3y ago
YAML is mainly for configuration files. JSON sucks at being configuration file format, it is mainly used for serialization in HTTP requests. Those 2 have different use cases.
- Ygg2 3y agoI've been using it for Sublime and some variant for VSCode. It's pretty nice, but it's missing comments.
- Sankozi 3y agoLack of comments is a showstopper for config file format. JSON also adds some significant amount of bloat due to the double quotes.
- Ygg2 3y ago> JSON also adds some significant amount of bloat due to the double quotes. As opposed to YAML's double quotes (and single quotes, and unquoted, and folded, and literals) or you mean Toml's double quotes (and single quotes and multi-line quote). Quotes aren't a problem. Many different types are.