VP
Size: a a a
VP
M
BP
BP
QH
BP
BP
BP
QH
VP
BP
AW
@Serializable
abstract class NodeAbstract : Node {
val attributes: JsonObject = JsonObject(emptyMap())
}
@Serializable
class Impl2 (val s: String): NodeAbstract() {
}
@Serializable
class Impl (val ss: String): NodeAbstract() {
}
fun main() {
val json = Json(JsonConfiguration.Stable.copy(isLenient = true))
println(json.stringify(Impl2.serializer(), Impl2("dasdasdsdasd")))
println(json.stringify(Impl.serializer(), Impl("dasdasdsdasd")))
}
{"attributes":{},"s":"dasdasdsdasd"}
{"ss":{},"ss":"dasdasdsdasd"}
AL
@Serializable
abstract class NodeAbstract : Node {
val attributes: JsonObject = JsonObject(emptyMap())
}
@Serializable
class Impl2 (val s: String): NodeAbstract() {
}
@Serializable
class Impl (val ss: String): NodeAbstract() {
}
fun main() {
val json = Json(JsonConfiguration.Stable.copy(isLenient = true))
println(json.stringify(Impl2.serializer(), Impl2("dasdasdsdasd")))
println(json.stringify(Impl.serializer(), Impl("dasdasdsdasd")))
}
{"attributes":{},"s":"dasdasdsdasd"}
{"ss":{},"ss":"dasdasdsdasd"}
VP
kotlin.suspend
?OY
BV
kotlin.suspend
?VP
OY
VP
OY