All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.proguard.fastjson2.pro Maven / Gradle / Ivy

Go to download

Fastjson is a JSON processor (JSON parser + JSON generator) written in Java

The newest version!
-keep, allowoptimization, allowobfuscation
  @com.alibaba.fastjson2.annotation.JSONType class *
# Keep the fields and methods with @JSONField
-keepclassmembers, allowobfuscation class * {
  @com.alibaba.fastjson2.annotation.JSONField ;
  @com.alibaba.fastjson2.annotation.JSONField ;
}

# Ignore warning
-dontwarn java.beans.Transient
-dontwarn com.alibaba.fastjson.*

# Keep the fields and methods annotated with
# @JSONField for classes which are referenced
-if class * {
  @com.alibaba.fastjson2.annotation.JSONField ;
}
-keep, allowobfuscation, allowoptimization class <1>
-if class * {
  @com.alibaba.fastjson2.annotation.JSONField ;
}
-keep, allowobfuscation, allowoptimization class <1>

# Keep any (anonymous) classes extending TypeReference
-keep, allowobfuscation class com.alibaba.fastjson2.TypeReference
-keep, allowobfuscation class * extends com.alibaba.fastjson2.TypeReference




© 2015 - 2024 Weber Informatics LLC | Privacy Policy