Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6771727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:27:58+00:00 2026-05-26T15:27:58+00:00

I have the following scenario: I am parsing a JSON Response from a server

  • 0

I have the following scenario: I am parsing a JSON Response from a server into a sqlite database and then I am using the database and datamodels for querying, filtering, …

A colleague of mine, an iOS developer, says, that he doesn’t do JSON parsing into datamodels and persistence into database anymore. He just takes the dictionaries, makes them app-wide available and for persistence saves them into a binary file.

Now I would like to know, does anybody do it the same way on Android? Will it be a problem to have say 1000 HashMap-Objects in the App (each having about 10 other Objects (Strings))? Seems quite much to me, will it drop my app performance? But why does it work well on iOS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:27:59+00:00Added an answer on May 26, 2026 at 3:27 pm

    We do both in different projects. One project that we keep the data in json has a lot of different fields and some tree structure, so storing it to a DB would be a lot of busy work. However, we have run into memory issues because of the size.

    To make your data life easier, and to have a rough parallel to CoreData, take a look at http://ormlite.com/. Its an orm tool that works with Android/Sqlite. I did the initial Android port and use it in pretty much every project I do. If you have a lot of data and only access small parts, database is potentially better.

    1000 objects wouldn’t really kill you either way, but its project specific and hard to say. I don’t think keeping Json in memory is going to be any better on either platform, however. At least not orders of magnitude.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following scenario: Entities are loaded from the database. One of them
I have a following scenario in my SQL Server 2005 database. zipcodes table has
Scenario: I am parsing values from an XML file using C# and have the
I have the following scenario: - 64bit Windows Server 2008. - 32bit .NET application
I have the following scenario, I want to create a DataGrid and then populate
What is the best way to handle the following database search scenario using asp.net
I have the following scenario: I have a database with a particular MyISAM table
I have the following scenario. I send a XML file to a server as
I have following scenario: The Android clients communicate with a PHP server via HTTP
I have the following scenario where I want to pass in string and a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.