Disable explicit nulls for JSON serializer

This commit is contained in:
Jays2Kings 2023-04-14 14:38:19 -04:00
parent cd3e185e82
commit 8a0229af87

View file

@ -48,7 +48,12 @@ class AppModule(val app: Application) : InjektModule {
addSingletonFactory { TrackManager(app) }
addSingletonFactory { Json { ignoreUnknownKeys = true } }
addSingletonFactory {
Json {
ignoreUnknownKeys = true
explicitNulls = false
}
}
addSingletonFactory { ChapterFilter() }