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
Encoding values of the following type should work:
type Foo struct { S string `toml:",omitempty" json:",omitempty"` }
encoding/json produces (for example): {"S":"asdf"}
{"S":"asdf"}
This library gives an error: Key '' is not a valid table name. Key names cannot be empty.
Key '' is not a valid table name. Key names cannot be empty.
The text was updated successfully, but these errors were encountered:
1946733
Properly encode struct fields having toml tags without a name
fdde903
Fixes BurntSushi#122.
No branches or pull requests
Encoding values of the following type should work:
encoding/json produces (for example):
{"S":"asdf"}
This library gives an error:
Key '' is not a valid table name. Key names cannot be empty.
The text was updated successfully, but these errors were encountered: