diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt index 60a17ac..0602081 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt @@ -18,6 +18,7 @@ import com.google.gson.Gson // import eu.kanade.tachiyomi.data.track.TrackManager // import eu.kanade.tachiyomi.extension.ExtensionManager import eu.kanade.tachiyomi.network.NetworkHelper +import kotlinx.serialization.json.Json import rx.Observable import rx.schedulers.Schedulers import uy.kohesive.injekt.api.InjektModule @@ -54,6 +55,8 @@ class AppModule(val app: Application) : InjektModule { addSingletonFactory { Gson() } + addSingletonFactory { Json { ignoreUnknownKeys = true } } + // Asynchronously init expensive components for a faster cold start // rxAsync { get() }