refactor renames

This commit is contained in:
InsanusMokrassar 2020-02-13 20:56:03 +06:00
parent b3966beb32
commit fc0bd288e3
2 changed files with 5 additions and 2 deletions

View 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

View File

@ -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))