Skip to content

Empty String Key is parsed as "undefined" #59

@boushley

Description

@boushley

If I have a TOML file like:

"" = "foo bar"

this will be converted to {"undefined": "foo bar"}

This same issue exists at any level of nesting.

According to the TOML spec an empty quoted key is allowed: https://github.com/toml-lang/toml/blob/master/README.md#user-content-keys

It shows it as discouraged, but still shouldn't be parsed as "undefined"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions