toml4j
toml4j copied to clipboard
Added the `TomlKey` annotation solves the problem where Java variable names cannot contain `-` while the configuration file keys include `-`.
This commit added the TomlKey annotation solves the problem where Java variable names cannot contain - while the configuration file keys include -.
Example:
public class User {
@TomlKey("test-name")
String testName;
}