/Documents

Simplify the usage of Gson and SnakeYaml

Primary LanguageJavaMIT LicenseMIT

Documents

A library to simplify the usage of Gson and SnakeYaml.

Getting started

Maven:

<repository>
    <id>jitpack</id>
    <url>https://jitpack.io</url>
</repository>

<dependency>
    <groupId>com.github.derrop</groupId>
    <artifactId>documents</artifactId>
    <version>1.1-RELEASE</version>
</dependency>

Gradle:

maven {
    name 'jitpack'
    url 'https://jitpack.io'
}

compile group: 'com.github.derrop', name: 'documents', version: '1.1-RELEASE'

With that being done, you can now create your Document with the methods in the Documents class.

Serialization and deserialization into strings/files can be done with the DocumentStorage, it can be accessed with the jsonStorage() and yamlStorage() methods in the Documents class.