Meituan Technology Team
Jan 5, 2018 · Mobile Development
Performance Optimization of JSON Serialization on Android: Replacing Gson with JSONObject and Mson
The article shows that replacing reflection‑heavy Gson with lightweight JSONObject for manual serialization and a compile‑time annotation‑processor generated library called Mson can cut JSON parsing and writing time to about one‑tenth, while maintaining compatibility and eliminating ProGuard rules for performance‑critical Android apps.
AndroidAnnotationProcessorGson
0 likes · 13 min read
