toml4j icon indicating copy to clipboard operation
toml4j copied to clipboard

Added the `TomlKey` annotation solves the problem where Java variable names cannot contain `-` while the configuration file keys include `-`.

Open CoderFrish opened this issue 3 months ago • 0 comments

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;
}

CoderFrish avatar Oct 18 '25 17:10 CoderFrish