-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
Is there anyone know about Proguard settings for Jackson-jr library in Android ?
I have tested mine with this, inside my proguard-rules.pro files .
-dontwarn com.fasterxml.jackson.**
-keep class com.fasterxml.jackson.** { *; }
-keep class org.codehaus.** { *; }
-keep public class your.class.** {*;}
-keepattributes *Annotation*,EnclosingMethod,Signature
-keepnames class com.fasterxml.jackson.** { *; }
-keepclassmembers class com.fasterxml.jackson.** { *; }
-keepclassmembernames class com.fasterxml.jackson.** { *; }
-keepclasseswithmembernames class com.fasterxml.jackson.** { *; }
-keepclasseswithmembers class com.fasterxml.jackson.** { *; }
But none of them success. When i tested APK with proguard turned on, the app cannot parsing JSON correctly. It just produce empty JSON Arrays , like [{},{},....]
Metadata
Metadata
Assignees
Labels
No labels