Skip to content

Quoted keys are read as empty strings #8

Description

@awvwgk

The HSD specification does not really specify which characters are valid for properties or methods. To figure out if spaces are allowed in keys I used the TOML syntax of escaping keys, so quoting them. I did expect an error, of course, but got an empty string.

The input

"Quoted" = 0

yields the following dict

{'': 0}

which is in turn serialized as invalid HSD

 = 0

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