Static Gson – is an library that makes Gson faster by generating TypeAapterFactory with annotation processing. In other words, this is an AOT compiler for Gson.
ProGuard rules for Static Gson
ProGuard detects and removes unused classes, and attributes, methods and fields. After ProGuard shrinks code, reading a code is difficult because the class names are obfuscated. Keep classes generated by the annotation processor. To fix errors and force ProGuard to keep certain code, set up a ProGuard configuration in proguard-rules.pro file.
################################# Static Gson ################################## -keep @com.github.gfx.static_gson.annotation.StaticGsonGenerated class * { *; }
For more information about Static Gson please see the website.