Skip to content

Serializables

Leonhard edited this page Dec 31, 2019 · 5 revisions

The serialization-system from LightningStorage is designed to be as simple & intuitive as possible. Also, it is easy to port on different API's because the classes that should be serialized don't need to extend any interfaces. This makes it possible to serialize classes that you don't have access to because they are provided by an third-party API.

Examples of this are the Bukkit&Bungeecord-API.

You can register classes as serializable using our LightningSerializer. After the registration, you can use your serializable's by calling the method

getSerializable(KEY, CLASS)

Clone this wiki locally