更新时间:2022-11-18 21:03:52
这可以帮助您:
http://www.kodejava.org/examples/588.html
这个例子展示了如何将 Collection (List/ArrayList)
转换为 JSON
而不是你可以在 Sqlite 中存储你的
数据库.JSON
字符串
This example shows how to convert Collection (List/ArrayList)
to JSON
than you can store your JSON
string in Sqlite
database.
它还展示了如何从 JSON
字符串中取回 ArrayList
.
It is also showing how to get ArrayList
back from JSON
string.