mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Disable explicit nulls for JSON serializer
This commit is contained in:
parent
cd3e185e82
commit
8a0229af87
1 changed files with 6 additions and 1 deletions
|
@ -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() }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue