refactor: migrate Gson serialization to kotlinx.serialization (#475)
* refactor: migrate Gson serialization to kotlinx.serialization * fix(dto): resolve serializing Any? and Map<String, Any?> with JsonElement * test(refactor): fix unit test issues under kotlinx.serialization and update nullable DTO defaults * fix(chat): support flexible numeric and string decoding for message timestamps * fix(chat): sequentialize cache loading to avoid overwriting network state
This commit is contained in:
Vendored
+1
-5
@@ -18,11 +18,7 @@
|
||||
-keep class com.m57.hermescontrol.ui.chat.MessageRole { *; }
|
||||
-keep class com.m57.hermescontrol.ui.chat.ToolStatus { *; }
|
||||
|
||||
# Gson itself
|
||||
-dontwarn com.google.gson.**
|
||||
-keep class com.google.gson.** { *; }
|
||||
|
||||
# Generic type signatures used by Gson
|
||||
# Generic type signatures used by serialization
|
||||
-keepattributes Signature
|
||||
-keepattributes *Annotation*
|
||||
-keepattributes EnclosingMethod
|
||||
|
||||
Reference in New Issue
Block a user