-
Notifications
You must be signed in to change notification settings - Fork 0
/
Intrinsics.kt
27 lines (25 loc) · 925 Bytes
/
Intrinsics.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package net.sarazan.martok
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlinx.serialization.json.JsonContentPolymorphicSerializer
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serialization.json.jsonObject
@Serializable
data class AllIntrinsics(
val str: String,
val literalString: String,
val num: Double,
val literalNum: Double,
val bool: Boolean,
val literalBool: Boolean,
val strings: List<String>,
val obj: JsonObject
)