-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Hi,
I'm using jsonapi-converter in my Android Project. I have used @id annotation in many of my model classes. I'm facing the following issue in my network calls with Proguard enabled App.
com.fasterxml.jackson.databind.JsonMappingException: Can not find a (Map) Key deserializer for type [simple type, class java.lang.reflect.Field]
Upon decompiling the APK, i find that the @id annotation is obfuscated into com.github.jasminb.jsonapi.annotations.C0899Id even after excluding it from ProGuard.
Here are my ProGuard rules:
# jsonapi -keepclassmembers class * { @com.github.jasminb.jsonapi.annotations.Id <fields>; @com.github.jasminb.jsonapi.annotations.Meta <fields>; @com.github.jasminb.jsonapi.annotations.Type <fields>; @com.github.jasminb.jsonapi.annotations.Relationship <fields>; @com.github.jasminb.jsonapi.annotations.Links <fields>; } -keep class com.siva.screenrecorder.model.** {*;}
Kindly help in resolving this issue. Thanks in advance.
