Skip to content

exonum/toml4j

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toml4j

toml4j is a TOML 0.4.0 parser for Java.

Forked from:

https://github.com/mwanji/toml4j

Installation

Add the following dependency to your POM (or equivalent for other dependency managers):

<dependency>
  <groupId>com.moandjiezana.toml</groupId>
  <artifactId>toml4j</artifactId>
  <version>${version}</version>
</dependency>

Requires Java 1.6 or above.

Quick start

Toml toml = new Toml().read(getTomlFile());
String someValue = toml.getString("someKey");
Date someDate = toml.getDate("someTable.someDate");
MyClass myClass = toml.to(MyClass.class);

License

Licensed under the MIT License

Packages

No packages published

Languages

  • Java 100.0%