|
|
|
|
|
by mcdonje
274 days ago
|
|
IMO, JSON, YAML, and TOML should all interpret all keys as strings, and only enforce quotes when syntactically necessary. So, `key1` is a string and doesn't need to be quoted. `12345` as a key is interpreted as a string (because keys are strings) and doesn't need to be quoted. `"key 1"` has a space, so it needs to be quoted. |
|
Use more quotes, use yamllint.
Like bash, more quotes and shellcheck.