
tech.figure.eventstream.stream.infrastructure.Serializer.kt Maven / Gradle / Ivy
package tech.figure.eventstream.stream.infrastructure
import com.squareup.moshi.Moshi
object Serializer {
@JvmStatic
val moshiBuilder: Moshi.Builder = Moshi.Builder()
.add(OffsetDateTimeAdapter())
.add(LocalDateTimeAdapter())
.add(LocalDateAdapter())
.add(UUIDAdapter())
.add(ByteArrayAdapter())
.add(URIAdapter())
.add(BigDecimalAdapter())
.add(BigIntegerAdapter())
@JvmStatic
val moshi: Moshi by lazy {
moshiBuilder.build()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy