mirror of
https://github.com/InsanusMokrassar/SDI.git
synced 2024-12-26 18:47:26 +00:00
refactor renames
This commit is contained in:
parent
b3966beb32
commit
fc0bd288e3
5
src/commonMain/kotlin/com/insanusmokrassar/sdi/Module.kt
Normal file
5
src/commonMain/kotlin/com/insanusmokrassar/sdi/Module.kt
Normal file
@ -0,0 +1,5 @@
|
||||
package com.insanusmokrassar.sdi
|
||||
|
||||
import kotlinx.serialization.ContextualSerialization
|
||||
|
||||
class Module internal constructor(base: Map<String, @ContextualSerialization Any>) : Map<String, Any> by base
|
@ -6,8 +6,6 @@ import kotlinx.serialization.internal.HashMapSerializer
|
||||
import kotlinx.serialization.internal.StringSerializer
|
||||
import kotlinx.serialization.json.*
|
||||
|
||||
class Module internal constructor(base: Map<String, @ContextualSerialization Any>) : Map<String, Any> by base
|
||||
|
||||
@ImplicitReflectionSerializer
|
||||
internal object ModuleDeserializerStrategy : DeserializationStrategy<Module> {
|
||||
private val internalSerializer = HashMapSerializer(StringSerializer, ContextSerializer(Any::class))
|
Loading…
Reference in New Issue
Block a user