MoshiSerializer

class MoshiSerializer(moshi: <Error class: unknown class> = Moshi.Builder().addLast(KotlinJsonAdapterFactory()).build()) : SupabaseSerializer(source)

A SupabaseSerializer that uses moshi

Constructors

Link copied to clipboard
constructor(moshi: <Error class: unknown class> = Moshi.Builder().addLast(KotlinJsonAdapterFactory()).build())

Functions

Link copied to clipboard
open override fun <T : Any> decode(type: KType, value: String): T
Link copied to clipboard
open override fun <T : Any> encode(type: KType, value: T): String