A248 / DazzleConf

Incredible configuration library
GNU Lesser General Public License v3.0
56 stars 1 forks source link

More configuration format support #2

Open A248 opened 3 years ago

A248 commented 3 years ago

Some formats to consider, and likely corresponding parsing libraries:

jwpjrdev commented 3 years ago

For TOML, using TOMLj might be advisable - https://github.com/tomlj/tomlj

A248 commented 3 years ago

Thanks for the suggestion, I just took a look at TOMLJ. However, it seems they do not currently support writing toml - https://github.com/tomlj/tomlj/issues/16

jwpjrdev commented 3 years ago

It appears that implementing writing/saving is fairly simple — https://github.com/heretere/hch/blob/main/src/main/java/com/heretere/hch/processor/toml/TomlProcessor.java#L190-L232