We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per TOML v1.0.0
A bare key must be non-empty, but an empty quoted key is allowed (though discouraged).
Currently, TomlRB will parse:
[foo] "" = "bar"
as
{"foo"=>{""=>"bar"}}
However it dumps the above as:
[foo] = "bar"
Which is invalid TOML that it (rightly) refuses to parse again.
The text was updated successfully, but these errors were encountered:
Support empty keys by quoting them. Fixes emancu#147
69667fb
6572c45
Merge pull request #148 from dreid/empty-keys
a9553af
Support empty keys by quoting them. Fixes #147
Successfully merging a pull request may close this issue.
Per TOML v1.0.0
Currently, TomlRB will parse:
as
However it dumps the above as:
Which is invalid TOML that it (rightly) refuses to parse again.
The text was updated successfully, but these errors were encountered: