mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Disable explicit nulls for JSON serializer (#7824)
* Disable explicit nulls for JSON serializer * format to multiple lines
This commit is contained in:
		| @@ -77,7 +77,12 @@ class AppModule(val app: Application) : InjektModule { | ||||
|  | ||||
|         addSingletonFactory<DatabaseHandler> { AndroidDatabaseHandler(get(), get()) } | ||||
|  | ||||
|         addSingletonFactory { Json { ignoreUnknownKeys = true } } | ||||
|         addSingletonFactory { | ||||
|             Json { | ||||
|                 ignoreUnknownKeys = true | ||||
|                 explicitNulls = false | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         addSingletonFactory { PreferencesHelper(app) } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user