toggle menu
kotlin-jupyter-kernel
0.12.0-335
jvm
switch theme
search in API
api
/
org.jetbrains.kotlinx.jupyter.util
/
ListToMapSerializer
List
To
Map
Serializer
abstract
class
ListToMapSerializer
<
T
,
K
,
V
>
(
utilSerializer
:
KSerializer
<
Map
<
K
,
V
>
>
,
mapper
:
(
K
,
V
)
->
T
,
reverseMapper
:
(
T
)
->
Pair
<
K
,
V
>
)
:
KSerializer
<
List
<
T
>
>
Inheritors
VariablesMapSerializer
RenderersSerializer
Members
Constructors
List
To
Map
Serializer
Link copied to clipboard
constructor
(
utilSerializer
:
KSerializer
<
Map
<
K
,
V
>
>
,
mapper
:
(
K
,
V
)
->
T
,
reverseMapper
:
(
T
)
->
Pair
<
K
,
V
>
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
List
<
T
>
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
List
<
T
>
)