mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.util
/
SemVersion
/
SemVersionAsStringSerializer
Sem
Version
As
String
Serializer
object
SemVersionAsStringSerializer
:
KSerializer
<
SemVersion
>
使用
SemVersion.toString
序列化, 使用
SemVersion.invoke
反序列化.
Members
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
SemVersion
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
SemVersion
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor