Skip to content

SimonFischer04/FileConfiguration

Repository files navigation

FileConfiguration

This is a simple tool to easily work with GSON.

Special about this library is that you can easily create "sub-json-objects" by using dots in the key.

Example:


FileConfiguration conf = new FileConfiguration(new File("conf.json"));

  • conf.set("a.b.c", "test");

will create a config that looks like this: { "a": { "b": { "c": "test" } } }

  • conf.getString("a.b.c")

will return it ("test") again

TODO:


  • add Documentation/JavaDoc
  • add option to automatically create file if not existing

(This is also my first project to test publishing to maven)

Maven Central

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages