Class SimpleValueSerializer
java.lang.Object
com.mrivanplays.annotationconfig.core.serialization.SimpleValueSerializer
Represents a utility class to help you call AnnotationConfig's default serializer for stuff which
do not need a custom serializer in a custom serializer of some kind.
- Since:
- 3.0.0
- Author:
- MrIvanPlays
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
deserialize
(DataObject value, Class<? extends T> neededValueType, Object annotatedConfig) static <T> DataObject
-
Method Details
-
deserialize
public static <T> T deserialize(DataObject value, Class<? extends T> neededValueType, Object annotatedConfig) -
serialize
public static <T> DataObject serialize(T value, Class<? extends T> valueType, Object annotatedConfig)
-