Skip to content

Failed to parse escaped quote in TOML #20

@oxalica

Description

@oxalica

I have a toml file:

["\"foo\""]
"\"bar\"" = "\"baz\""

yj -tj <a.toml failed with:

Error parsing TOML: (1, 2): invalid table array key: invalid bare key character: \

According to the TOML specification:

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