All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonTest.kotlinx.serialization.json.JsonImplicitNullsTest.kt Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
package kotlinx.serialization.json

import kotlinx.serialization.*

class JsonImplicitNullsTest: AbstractJsonImplicitNullsTest() {
    override fun  Json.encode(value: T, serializer: KSerializer): String {
        return encodeToString(serializer, value)
    }

    override fun  Json.decode(json: String, serializer: KSerializer): T {
        return decodeFromString(serializer, json)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy