BuiltInDeserializer

interface BuiltInDeserializer : Function<JsonElement, ModelRotator>

Helper interface for built-in deserializers.

Since

1.15.2

Functions

Link copied to clipboard
open fun <V> andThen(after: (in R) -> out V): (T) -> V
Link copied to clipboard
@Nullable
open fun apply(): @Nullable ModelRotator
Deserializes a default instance.
@Nullable
abstract fun apply(@NotNull element: @NotNull JsonElement): @Nullable ModelRotator

@Nullable
open fun apply(value: Long): @Nullable ModelRotator
Deserializes from a long value.
Link copied to clipboard
open fun <V> compose(before: (in V) -> out T): (V) -> R
Link copied to clipboard
open fun <T> identity(): (T) -> T