Home
last modified time | relevance | path

Searched refs:MapWithNullable (Results 1 – 1 of 1) sorted by relevance

/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/json/
DAbstractJsonImplicitNullsTest.kt44 data class MapWithNullable(val m: Map<Int?, Int?>) class in kotlinx.serialization.json.AbstractJsonImplicitNullsTest
126 … val encoded = format.encode(MapWithNullable(mapOf(null to null)), MapWithNullable.serializer()) in testMapWithNullable()
130 val decoded = format.decode(jsonWithEmptyList, MapWithNullable.serializer()) in testMapWithNullable()
131 assertEquals(MapWithNullable(emptyMap()), decoded) in testMapWithNullable()