Skip to content

JSON and TOML format require explicit quoting of strings in single values like environment variables #143

Description

@akaIDIOT

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions