Vrong / ovh_mail_redirections_manager_for_android

Simple OVH mail redirection manager for android
GNU General Public License v3.0
1 stars 0 forks source link

Consider GSON library for JSON parsing #7

Open gagath opened 6 years ago

gagath commented 6 years ago

GSON is an awesome Java library that automatically maps POJO objects to JSON and provides automatic serialization/deserialization using the POJO's field names.

This could reduce the code footprint of the OvhApiWrapper a lot (no more exceptions handling, no more JSONObject -> Redirection glue code, ...).

I am available to implement this if approved.

Vrong commented 6 years ago

I'm not sure to understand what you are willing to do. You want to cast OVH responses into an object before sending it back to view?