toml4j
toml4j copied to clipboard
How to generate "dot" on a toml field?
I m trying to generate an frpc configuration file which should contains field: auth.token
But field name with a dot is not allowed in java class.
I ve tried to using Json or Java Map to generate... But the toml field became like this:
"auth.token" = "xxxx"
What i need is: auth.token = "xxxx"
Create a class for auth with a field for token.
See Dotted keys and how they compare to json. They are equivalent to tables, as defined in the specs