toggle menu
lib
common
switch theme
search in API
mockzilla-common
/
com.apadmi.mockzilla.lib.internal.models
/
ServiceResultSerializer
Service
Result
Serializer
class
ServiceResultSerializer
<
T
:
Any
>
(
serializer
:
KSerializer
<
T
?
>
)
:
KSerializer
<
SetOrDont
<
T
?
>
>
Members
Constructors
Service
Result
Serializer
Link copied to clipboard
constructor
(
serializer
:
KSerializer
<
T
?
>
)
Types
Service
Result
Surrogate
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"ServiceResult"
)
data
class
ServiceResultSurrogate
<
out
T
:
Any
>
(
val
type
:
ServiceResultSerializer.ServiceResultSurrogate.Type
,
val
value
:
T
?
=
null
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
SetOrDont
<
T
?
>
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
SetOrDont
<
T
?
>
)