Package org.tribot.script.sdk.util.serialization

Types

PolymorphicAdapter
Link copied to clipboard
public final class PolymorphicAdapter<T extends Object> implements JsonDeserializer<T>, JsonSerializer<T>
Provides an adapter that stores the classname with the object being serialized.
RuntimeTypeAdapterFactory
Link copied to clipboard
public final class RuntimeTypeAdapterFactory<T> implements TypeAdapterFactory
Adapts values whose runtime type may differ from their declaration type.
StateTypeAdapterFactory
Link copied to clipboard
public final class StateTypeAdapterFactory implements TypeAdapterFactory
Provides a way to serialize and deserialize Jetpack Compose stateful objects