JsonRatchetSerializer

class JsonRatchetSerializer(serializer: KSerializer<Ratchet>) : JsonTransformingSerializer<Ratchet>

This class is a json transformer for Ratchet, it allows the separation between data and metadata.

Constructors

JsonRatchetSerializer
Link copied to clipboard
common
fun JsonRatchetSerializer(serializer: KSerializer<Ratchet>)

Functions

deserialize
Link copied to clipboard
common
override fun deserialize(decoder: Decoder): Ratchet
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
serialize
Link copied to clipboard
common
override fun serialize(encoder: Encoder, value: Ratchet)
toString
Link copied to clipboard
common
open fun toString(): String

Properties

descriptor
Link copied to clipboard
common
open override val descriptor: SerialDescriptor