While not allowing bare strings is a feature of both JSON and TOML, this becomes a bit cumbersome when simple string configuration values are supplied through environment variables.
$ NAME_CONFIG="value" program # will raise an UnexpectedCharError
$ NAME_CONFIG="'value'" program # value is quoted, this works
Though correct, can we come up with something decent that will alleviate the pain but not break other things?
While not allowing bare strings is a feature of both JSON and TOML, this becomes a bit cumbersome when simple string configuration values are supplied through environment variables.
Though correct, can we come up with something decent that will alleviate the pain but not break other things?