java annotation processors are not allowed to change class structures.
Project lombok uses private APIs to do so and Room has no way of knowing about these changes.
They don’t work together
java annotation processors are not allowed to change class structures.
Project lombok uses private APIs to do so and Room has no way of knowing about these changes.
They don’t work together
https://medium.com/@IlyaEremin/android-json-parsers-comparison-2017-8b5221721e31
List of parsers to compare: gson 2.8.0, jackson 2.0.1, moshi 1.4.0, ason 1.1.0.
jackson:
pros: fasters, triggers GC least, most customazible
cons: 6.7k methods (can be reduced by Proguard), API not so friendly
gson:
pros: fast enough, most popular (10k stars on github), pretty API, small
cons: relatively slow, trigger GC relatively more
There is no reasons for me to use moshi or ason based on this comparation: they are slower almost in each test.