caixu52110 2015-02-07 02:44 采纳率: 0%
浏览 1757

求高手解析json java的

{"data":[{"result":{"result":[{"data":["2","9","2","6","6"],"key":"ball"}]},"phasetype":"202","phase":"20150207009","ext":{"ten":"大<\/span>双<\/span>","unit":"大<\/span>双<\/span>","last":"组三<\/span>"},"time_draw":"2015-02-07 10:31:22"},{"result":{"result":[{"data":["1","7","7","5","0"],"key":"ball"}]},"phasetype":"202","phase":"20150207008","ext":{"ten":"大<\/span>单","unit":"小双<\/span>","last":"组六"},"time_draw":"2015-02-07 10:21:12"},{"result":{"result":[{"data":["9","6","8","4","7"],"key":"ball"}]},"phasetype":"202","phase":"20150207007","ext":{"ten":"小双<\/span>","unit":"大<\/span>单","last":"组六"},"time_draw":"2015-02-07 10:11:02"},{"result":{"result":[{"data":["3","6","3","2","6"],"key":"ball"}]},"phasetype":"202","phase":"20150207006","ext":{"ten":"小双<\/span>","unit":"大<\/span>双<\/span>","last":"组六"},"time_draw":"2015-02-07 10:00:53"},{"result":{"result":[{"data":["4","3","2","0","6"],"key":"ball"}]},"phasetype":"202","phase":"20150207005","ext":{"ten":"小双<\/span>","unit":"大<\/span>双<\/span>","last":"组六"},"time_draw":"2015-02-07 09:50:44"},{"result":{"result":[{"data":["6","1","6","1","0"],"key":"ball"}]},"phasetype":"202","phase":"20150207004","ext":{"ten":"小单","unit":"小双<\/span>","last":"组六"},"time_draw":"2015-02-07 09:40:34"},{"result":{"result":[{"data":["2","0","0","5","8"],"key":"ball"}]},"phasetype":"202","phase":"20150207003","ext":{"ten":"大<\/span>单","unit":"大<\/span>双<\/span>","last":"组六"},"time_draw":"2015-02-07 09:30:24"},{"result":{"result":[{"data":["8","5","8","7","2"],"key":"ball"}]},"phasetype":"202","phase":"20150207002","ext":{"ten":"大<\/span>单","unit":"小双<\/span>","last":"组六"},"time_draw":"2015-02-07 09:20:15"},{"result":{"result":[{"data":["5","8","1","9","7"],"key":"ball"}]},"phasetype":"202","phase":"20150207001","ext":{"ten":"大<\/span>单","unit":"大<\/span>单","last":"组六"},"time_draw":"2015-02-07 09:10:00"}],"rows":9}

  • 写回答

5条回答 默认 最新

  • 腐烂的蓑衣 2015-02-07 05:50
    关注

    JSONObject json= new JSONObject(jsonString);

    JSONArray jsonArray=json.getJSONArray("elements");

    评论

报告相同问题?

悬赏问题

  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境
  • ¥30 关于#java#的问题,请各位专家解答!
  • ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分合并
  • ¥20 pcf8563时钟芯片不启振