Skip to content

Advanced usage

ZorT edited this page Nov 20, 2022 · 6 revisions

Next Page

This page is under construction! ⚠️

Custom field-node name mapping

Custom serialization/deserialization adapters

public class CustomAdapter implements NodeSerializer<Test.AnyObject, ConfigurationSection> {
    
    @Override
    public void serialize(NodeContext<Object, ConfigurationSection> context, Test.AnyObject object) {
        
    }
    
}

config.registerAdapter(AnyObject.class, new CustomAdapter());

Clone this wiki locally