javascript - What is the best way to store JSON data within mobile hybrid app? -


there few options in market store json data within mobile app (indexeddb, websql, etc.).

i'm looking best solution (which not deprecated , supported commonly used browsers) store json data , use within mobile app created presentation / demo / portfolio purposes.

my static json file structure looks follows:

{    "products": [       .. several records    ],    "users": [       ... several records    ],    "factdata": [       ... few thousand records    ] } 

the question is, technology / method should use store above json data , not worry support ?

local storage provides simple, synchronous key/value pair storage, performs poorly large amounts of data , possibly lock ui.

websql depracated can still use it. can store around 5mb of data.

indexeddb not supported on ios.

i probabaly go websql now, other ways of storing data in json. maybe create database , api , make authorized rest calls it


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -