我需要将JSONArray对象存储为字符串,然后检索字符串并将其转换回JSONArray.
如果我做:
JSONArray jArray;
String s = jArray.toString()
JSONArray newJArray = new JSONArray(s);
Run Code Online (Sandbox Code Playgroud)
我会找回同一个物体吗?
我正在尝试将JSONArray存储在SQLite数据库中.
这就是我正在看的东西.http://developer.android.com/reference/org/json/JSONArray.html#toString()
我正在尝试使用Ansible部署到服务器环境.我已将我的公共ssh密钥正确添加到服务器的授权密钥文件中.
我可以ssh:
$ ssh root@104.131.217.58
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-24-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Aug 1 00:11:42 EDT 2014
System load: 0.28 Processes: 67
Usage of /: 7.7% of 19.56GB Users logged in: 0
Memory usage: 9% IP address for eth0: 104.131.217.58
Swap usage: 0%
Graph this data and manage this system at:
https://landscape.canonical.com/
0 packages can be updated.
0 updates are security updates.
Last login: Fri Aug 1 00:11:42 2014 from d108-180-5-156.bchsia.telus.net …Run Code Online (Sandbox Code Playgroud)