Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.09 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.09 KB

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.