FusionYAML has been moved to https://github.com/FusionYAML. This repository will no longer receive updates
- Converting YAML to JSON and vice versa
- Contains GSON-style methods and classes for updating and retrieving data
- Configurations
- YamlElements
YamlObject object = new YamlObject();
object.set("key", true);
YamlNode node = new YamlNode();
node.addChild("age", 63);
node.addChild("height", "1.77m");
object.set("Bill Gates", node);
System.out.println("YAML STRING");
System.out.println(object.toString());
System.out.println("JSON STRING");
System.out.println(object.toJsonString());The above will print:
YAML STRING
key: true
Bill Gates:
age: 63
height: 1.77m
JSON STRING
{"key":true,"Bill Gates":{"age":63,"height":"1.77m"}}- Configurations
FileConfiguration
File file = new File("path to file");
FileConfiguration configuration = new FileConfiguration(file);
configuration.set("dx", 321);
configuration.save(file);dx: 321WebConfiguration
WebConfiguration configuration = new WebConfiguration("url here");
configuration.set("x", 312);
configuration.save(new File("path to file"));x: 312- Serialization and Deserialization
Test test = new Test(2, 4, 6);
ObjectSerializer serializer = new ObjectSerializer();
Object serialized = serializer.serialize(test);
ObjectDeserializer deserializer = new ObjectDeserializer();
Test deserializedTest = deserializer.deserialize((Map) serialized, Test.class);- Using standard java conventions
- Adhering to java's good practices
- Well documented code
- Atleast one pull request accepted from the user
- demonstrate appropriate java skills
- if you're reflxction
- Support serialization and deserialization
- Adding events
- Asynchronous web configuration
- Changing data directly on the webpage using FTP
- String Literals in YAML
- Supporting basic math operations in YAML