Class ConfigSerializer
java.lang.Object
dev.ua.theroer.magicutils.config.ConfigSerializer
Handles serialization and deserialization of complex config objects.
-
Method Summary
-
Method Details
-
serialize
-
deserialize
Deserializes a map to an object.- Type Parameters:
T- the type to deserialize to- Parameters:
logger- logger for diagnosticsdata- the map data to deserializeclazz- the class to deserialize to- Returns:
- the deserialized object
- Throws:
SecurityException- if the class is not marked as @ConfigSerializable
-