Skip to content Skip to sidebar Skip to footer

Caching Downloaded Json Data To Sqlite Database - Is It A Good Idea?

In my app I have to download JSON data from numerous web services. The data classes I use are fairly complex ones (lots of properties, quite deep inheritance tree, etc.). I intend

Solution 1:

There is absolutely nothing wrong with this approach; however, I am going to recommend that you instead use the built in caching storage. See the section called "Saving cache files" in Data Storage for more details.This way you don't hog any precious space if your JSON objects are large in the event of a low memory situation.


Post a Comment for "Caching Downloaded Json Data To Sqlite Database - Is It A Good Idea?"