lundi 29 juin 2015

JSON mapper + SQLite wrapper for Android?

There are tons of questions about storing a JSON response to SQLite, but I'm looking for a framework that provides end-to-end support for:

  1. Requesting JSON
  2. Mapping it to Java classes
  3. Storing it to SQLite
  4. Querying the database that would get pulled into those same Java classes

In a sense, I'm using the SQLite as a permanent cache for the JSON requests for offline use. So far, I found Asynchronous Http Client for Android that does the JSON request portion, but there will probably be many frameworks that need to be orchestrated together, or hopefully one that does the full spectrum. Can anyone provide any advice or experiences with any custom framework(s) that can do this?

Aucun commentaire:

Enregistrer un commentaire