mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.util
/
SemVersion
/
Requirement
/
RequirementAsStringSerializer
Requirement
As
String
Serializer
object
RequirementAsStringSerializer
:
KSerializer
<
SemVersion.Requirement
>
序列化为字符串,
rule
. 从字符串反序列化,
parseRangeRequirement
.
Members
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
SemVersion.Requirement
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
SemVersion.Requirement
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor