加载中
79043076 2016/02/24 09:10 回答了问题: 用Gson则样解析这类型的json
回复 @柏show : 谢谢以解决
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/23 14:13 回答了问题: 用Gson则样解析这类型的json
回复 @79043076 : 我用list.get(0)打出来是这样的引号都没了 {id=1.0, district=XinCheng, street=Event Street, lat=34.265579775147, lng=108.95783711025, full_address=East Street Roma Load #123, location=骡马市}
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/23 13:58 回答了问题: 用Gson则样解析这类型的json
回复 @柏show : list.size()有值就是取不出来具体的值。
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/23 10:59 回答了问题: 用Gson则样解析这类型的json
回复 @柏show : 这样写还是获取不到数据,有没有其他办法
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/23 10:42 回答了问题: 用Gson则样解析这类型的json
回复 @柏show : 这样写直接报错了
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/22 14:37 回答了问题: 用Gson则样解析这类型的json
回复 @柏show : 还是有点问题,为什么我可以拿到这个size(),拿不到里面的值?
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/22 14:16 回答了问题: 用Gson则样解析这类型的json
回复 @柏show : 太感谢你了
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/22 14:05 回答了问题: 用Gson则样解析这类型的json
这样写:这句话List<Object> a = gson.fromJson(json, Air.class);就报错了,需要在Air里面加list么?
@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
79043076 2016/02/22 10:14 回答了问题: 用Gson则样解析这类型的json
json 是这样的[{"id":1,"district":"XinCheng","street":"Event Street","lat":34.265579775147,"lng":108.95783711025,"full_address":"East Street Roma Load  #123","location":"骡马市"},
{"id":2,"district":"YanTa","street":"ChangAn Street","lat":34.242485194491,"lng":108.95358075909,"full_address":"Yanta ChangAn Street  #108","location":"长安街"},

{"id":3,"district":"BeiLin","street":"BellTower","lat":34.265128013749,"lng":108.95376509138,"full_address":"Bell Tower  #1","location":"钟楼商圈"}]

则么用Gson解析?


@79043076
[{"id":1,"district":"XinCheng","street":"Event Street","l...
没有报错!!!!!
@79043076
new Thread(){ @Override public void run() { String path="...
79043076 2016/01/28 16:41 回答了问题: java mybatis 报数据类型转换错误
谢谢,好了
79043076 2016/01/28 16:41 回答了问题: java mybatis 报数据类型转换错误
谢谢,已经好了
回复 @maradona : 好吧,我到进去还是不行
@79043076
08:53:15,515 ERROR localhost-startStop-1 context.ContextL...
这个包是干什么的
@79043076
08:53:15,515 ERROR localhost-startStop-1 context.ContextL...

你说的是这个么

@79043076
08:53:15,515 ERROR localhost-startStop-1 context.ContextL...

没有更多内容

加载失败,请刷新页面

返回顶部
顶部