toggle menu
xmlutil
0.90.2
Common
switch theme
search in API
serialutil
/
nl.adaptivity.serialutil
/
DelegatingSerializer
Delegating
Serializer
abstract
class
DelegatingSerializer
<
T
,
D
>
(
val
delegateSerializer
:
KSerializer
<
D
>
)
:
KSerializer
<
T
>
(
source
)
Members
Members & Extensions
Constructors
Delegating
Serializer
Link copied to clipboard
constructor
(
delegateSerializer
:
KSerializer
<
D
>
)
Properties
delegate
Serializer
Link copied to clipboard
val
delegateSerializer
:
KSerializer
<
D
>
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
Functions
decode
Elements
Link copied to clipboard
inline
fun
DeserializationStrategy
<
*
>
.
decodeElements
(
input
:
CompositeDecoder
,
body
:
(
Int
)
->
Unit
)
Helper function that helps decoding structure elements
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
T
from
Delegate
Link copied to clipboard
abstract
fun
fromDelegate
(
delegate
:
D
)
:
T
non
Null
Serializer
Link copied to clipboard
fun
<
T
:
Any
>
DeserializationStrategy
<
T
?
>
.
nonNullSerializer
(
)
:
DeserializationStrategy
<
T
>
fun
<
T
:
Any
>
KSerializer
<
T
?
>
.
nonNullSerializer
(
)
:
KSerializer
<
T
>
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
T
)
to
Delegate
Link copied to clipboard
abstract
fun
T
.
toDelegate
(
)
:
D