Comparison of json deserialization:
-gson
-gson without annotations
-jackson (Strongly NOT recommended to use with android*)
-kotlinx
-moshi
- Deserialization of list with 50 objects-tree of 200 inner classes. *moshi can't deserialize more deep nested object than about 200, list of such objects is added to increase parse time, parse time of 1 object is too low)
- Deserialization of big geo json with coorinates of polylines. Json string for 2 cases is located in .json file approx. 1.3 Mb in raw resources.
Test devices
- Asus ZC500TG (Asus)
- Realme c25s (Realm)
- Emulator Pixel 4 api 29 (emu) (notebook i7-4600u, 16 gb ram)
Nested object test
GeoJson test
*Jackson has problems with android see FasterXML/jackson-module-kotlin#69