toggle menu
Ksui
2.2.0-SNAPSHOT
common
switch theme
search in API
Ksui
/
xyz.mcxross.ksui.serializer
/
OptionSerializer
Option
Serializer
class
OptionSerializer
<
T
>
(
dataSerializer
:
KSerializer
<
T
>
)
:
KSerializer
<
Option
<
T
>
>
Members
Constructors
Option
Serializer
Link copied to clipboard
constructor
(
dataSerializer
:
KSerializer
<
T
>
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
Option
<
T
>
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
Option
<
T
>
)