Interface RtagSerializer<T>
- Type Parameters:
T- Serializable object type.
public interface RtagSerializer<T>
An Serializer that converts any Object to
Map.-
Method Summary
Modifier and TypeMethodDescriptiongetInID()The unique ID to save with CompoundTag onRtag.newTag(Object)operations.
"In" means the value inside will be put into tag.
This ID must be the same has "Out" ID onRtagDeserializerif you want to obtain the saved object as current type in a future.Method who be invoked to convert any Object toMap.
-
Method Details
-
getInID
String getInID()The unique ID to save with CompoundTag onRtag.newTag(Object)operations.
"In" means the value inside will be put into tag.
This ID must be the same has "Out" ID onRtagDeserializerif you want to obtain the saved object as current type in a future.- Returns:
- Object type ID.
-
serialize
-