ap-json-serializer/src/main/kotlin/dev/usbharu/ap/serialization/Serializable.kt

8 lines
177 B
Kotlin

package dev.usbharu.ap.serialization
import kotlinx.serialization.json.JsonElement
interface Serializable<T> {
fun serialize(spec: SerializerSpec,value: T): JsonElement
}