json - 如何将JSON数据直接持久化存储在Flutter中供查询和离线使用?

标签 json flutter persistence

在 Flutter 应用中持久存储从 RESTful API 提取的 JSON 数据(供离线使用)的最佳方法是什么?

有没有比 sqflite 更简单的方法?

谢谢!

最佳答案

原来使用的是 NoSQL 嵌入式数据库 Sembast是最好的选择。由制作 SQFLite 的同一个人制作!

关于json - 如何将JSON数据直接持久化存储在Flutter中供查询和离线使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55922071/

相关文章:

json - 编码为 JSON 时,Golang 错误类型为空

json - 编码泛型类型时生命周期参数的数量错误

Flutter - StreamBuilder 在更改页面并返回后似乎没有收听流

flutter - 'TextStyle ?' can' t 被分配给参数类型 'TextStyle'

java - Hibernate/JPA 是否考虑了 transient 修饰符(而不是注释)

json - MGO 返回 bson 字段而不是 json 字段

android - 将 SQLite 转换为 JSON

firebase - 在Flutter中将数据保存到Firebase实时数据库

java - EclipseLink JPA2 Criteria 查询准备语句

java - hibernate 监控解决方案