ks3
main-SNAPSHOT
ks3-jdk
/
io.ks3.java.time
/
YearAsIntSerializer
Year
As
Int
Serializer
object
YearAsIntSerializer
:
KSerializer
<
Year
>
(
source
)
Serializes a
Year
to an integer. Example:
2020
Functions
Properties
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
Year
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
Year
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor