【发布时间】:2016-12-16 16:00:59
【问题描述】:
我有一些来自 API 的 JSON 数据,我想将其存储在 Nativescript 应用程序中。
有没有一种方法可以以简单的方式存储到 sqlite 数据库。
目前,我正在使用循环来迭代数据并将它们存储在 sqlite 中的行中。
我尝试过使用application-settings 在这里看到http://docs.nativescript.org/api-reference/modules/_application_settings_.html
我计划存储 1000 人的联系方式。因此,这是最好的方法。
请让我知道可以处理 JSON 数据的任何其他方式。
【问题讨论】:
标签: json sqlite android-sqlite nativescript angular2-nativescript