Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Osiris-Team

The Java-API for processing YAML files you've always dreamed of.

Report Dream-Yaml?

Dream-Yaml https://jitpack.io/v/Osiris-Team/Dream-Yaml.svg

The Java-API for processing YAML files you've always dreamed of.

Easily create, edit, and delete your plugins configuration files. Some notable features: comments, default values, and hierarchies. This API was designed for developers and not server owners.

Installation

Click here for further details. Java 8+ required.

Motivation

It started by not being able to find an API that fulfilled my needs in simplicity and performance. So I developed Dream-Yaml with the goal of having a simple, performant, and reliable API for processing YAML files. To achieve these goals, only the most essential parts of YAML have been implemented.

Getting started


DreamYaml yaml = new DreamYaml(System.getProperty("user.dir")+"/src/test/simple-example.yml");

yaml.put("name")         .setDefValues("John");
yaml.put("last-name")    .setDefValues("Goldman");
yaml.put("age")          .setDefValues("29");
yaml.put("work")         .setDefValues("Reporter");
yaml.put("pending-tasks").setDefValues("do research", "buy food", "start working");

yaml.save();

Benchmarks

https://i.imgur.com/rupU0Ea.png Click here for further details.

Information

CategoryDeveloper Tools
Published onApril 14, 2023
LicenseUnspecified
Downloads11
Stars3
Watchers2

Members