class DynamicObjectParser : SerialFormatĮncoder is a core serialization primitive that encapsulates the knowledge of the underlyingįormat and its storage, exposing only structural methods to the serializer, making it completelyįormat-agnostic. ![]() interface DeserializationStrategy Ĭonverts native JavaScript objects into Kotlin ones, verifying their types. Deserialization process takes a decoder and asks him for a sequence of primitive elements,ĭefined by a deserializer serial form, while decoder knows how to retrieve these primitive elements from an actual formatĭeserialization strategy defines the serial form of a type T, including its structural description,ĭeclared by the descriptor and the actual deserialization process, defined by the implementation class ContextSerializer : KSerializer ĭecoder is a core deserialization primitive that encapsulates the knowledge of the underlyingįormat and an underlying storage, exposing only structural methods to the deserializer, making it completelyįormat-agnostic. This serializer is enabled by ContextualSerialization. This class provides support for retrieving a serializer in runtime, instead of using the one precompiled by the serialization plugin. The serialized form, described by the serial descriptor passed to Encoder.beginStructure. interface CompositeDecoderĬompositeEncoder is a part of encoding process that is bound to a particular structured part of The serialized form, described by the serial descriptor passed to Decoder.beginStructure. Via dump and load methods interface BinaryFormat : SerialFormatĬompositeDecoder is a part of decoding process that is bound to a particular structured part of ![]() SerialFormat that allows conversion to and from ByteArray rialization - kotlinx-serialization kotlinx-serialization / rialization Package rializationīasic core concepts and annotations that set up serialization process.
0 Comments
Leave a Reply. |